summaryrefslogtreecommitdiff
path: root/firmware/export/usb_ch9.h
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2021-06-12 06:25:25 +0000
committerJames Buren <braewoods+rb@braewoods.net>2021-06-12 06:32:08 +0000
commita90ef8195b13aada83da4e1773b5a14c20b33d0b (patch)
tree8e203db62b8e642810d87940bbb2cf3cc7134de7 /firmware/export/usb_ch9.h
parentfe9bcd0468b81b9890606fda1840a43a6d809133 (diff)
downloadrockbox-a90ef8195b13aada83da4e1773b5a14c20b33d0b.tar.gz
rockbox-a90ef8195b13aada83da4e1773b5a14c20b33d0b.zip
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 'firmware/export/usb_ch9.h')
0 files changed, 0 insertions, 0 deletions