summaryrefslogtreecommitdiffstats
path: root/utils/sbinfo/aes128_impl.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-11-29 14:15:06 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-11-29 14:15:06 +0000
commit761255928e0a56ce915f35f6c22b8b6945050659 (patch)
treeff116115d177c00e94dc3af193a70221da5d0d36 /utils/sbinfo/aes128_impl.h
parentdb1e051bf08871d156feadf8e81972fdaf1989f7 (diff)
downloadrockbox-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.h10
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);