diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2010-11-29 14:15:06 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2010-11-29 14:15:06 +0000 |
commit | 761255928e0a56ce915f35f6c22b8b6945050659 (patch) | |
tree | ff116115d177c00e94dc3af193a70221da5d0d36 /utils/sbinfo/aes128_impl.h | |
parent | db1e051bf08871d156feadf8e81972fdaf1989f7 (diff) | |
download | rockbox-761255928e0a56ce915f35f6c22b8b6945050659.tar.gz rockbox-761255928e0a56ce915f35f6c22b8b6945050659.zip |
sbinfo: add full support for various kind of cryptographic checks
- now have a AES128, SHA1 and CRC implementation
- now crc check the boot section chunks as well as the instruction headers
- now sha1 check the sb header and the whole file
- nearly all fields of the sb format are now documented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28708 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/sbinfo/aes128_impl.h')
-rw-r--r-- | utils/sbinfo/aes128_impl.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/utils/sbinfo/aes128_impl.h b/utils/sbinfo/aes128_impl.h deleted file mode 100644 index 7f1b966cd3..0000000000 --- a/utils/sbinfo/aes128_impl.h +++ /dev/null @@ -1,10 +0,0 @@ -#include <stdio.h> -#include <stdint.h> -#include <string.h> - -typedef uint8_t byte; - -void xor_(byte *a, byte *b, int n); -void EncryptAES(byte *msg, byte *key, byte *c); -void DecryptAES(byte *c, byte *key, byte *m); -void Pretty(byte* b,int len,const char* label); |