diff options
author | James Buren <braewoods+rb@braewoods.net> | 2021-06-12 06:25:25 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2021-06-12 06:32:08 +0000 |
commit | a90ef8195b13aada83da4e1773b5a14c20b33d0b (patch) | |
tree | 8e203db62b8e642810d87940bbb2cf3cc7134de7 /utils/time-sync/time-sync.c | |
parent | fe9bcd0468b81b9890606fda1840a43a6d809133 (diff) |
mknkboot/beastpatcher: implement basic firmware validation
This imports the MD5 code used by other utilities and creates
a function for checking the provided NK.bin against known original
firmware checksums. Integration into mknkboot and beastpatcher is
also added.
For the sake of consistency with beastpatcher, mknkboot had its
printf statements rewrote to print to stderr like beastpatcher
does.
Change-Id: I0e52271d8d627a5b02302ab5cd1da2815b7cec1e
Diffstat (limited to 'utils/time-sync/time-sync.c')
0 files changed, 0 insertions, 0 deletions