summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-09-19 12:21:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-09-19 12:21:12 +0000
commit15cf32b517ef6cb69b0263b977ca5fc783a25eb6 (patch)
tree8dcfa46d29e4ad97c20e49b57c53f8fa3060da67 /rbutil
parent377ffc71100178b8a8939f2ea78c138da9527e57 (diff)
four more keys that are fun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14752 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/sansapatcher/sansapatcher.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.c b/rbutil/sansapatcher/sansapatcher.c
index 087160146e..c4e0dc0170 100644
--- a/rbutil/sansapatcher/sansapatcher.c
+++ b/rbutil/sansapatcher/sansapatcher.c
@@ -190,11 +190,16 @@ static void chksum_crc32gentab (void)
}
}
-/* Known keys for Sansa E200 firmwares: */
-#define NUM_KEYS 2
+/* Known keys for Sansa E200 and C200 firmwares: */
+#define NUM_KEYS (sizeof(keys)/sizeof(keys[0]))
static uint32_t keys[][4] = {
{ 0xe494e96e, 0x3ee32966, 0x6f48512b, 0xa93fbb42 }, /* "sansa" */
{ 0xd7b10538, 0xc662945b, 0x1b3fce68, 0xf389c0e6 }, /* "sansa_gh" */
+ { 0x1d29ddc0, 0x2579c2cd, 0xce339e1a, 0x75465dfe }, /* sansa 103 */
+
+ { 0xbf2d06fa, 0xf0e23d59, 0x29738132, 0xe2d04ca7 }, /* c200 */
+ { 0x2a7968de, 0x15127979, 0x142e60a7, 0xe49c1893 }, /* c200 1.00.03 */
+ { 0xa913d139, 0xf842f398, 0x3e03f1a6, 0x060ee012 }, /* c200 1.00.06 */
};
/*