summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
190 } 190 }
191} 191}
192 192
193/* Known keys for Sansa E200 firmwares: */ 193/* Known keys for Sansa E200 and C200 firmwares: */
194#define NUM_KEYS 2 194#define NUM_KEYS (sizeof(keys)/sizeof(keys[0]))
195static uint32_t keys[][4] = { 195static uint32_t keys[][4] = {
196 { 0xe494e96e, 0x3ee32966, 0x6f48512b, 0xa93fbb42 }, /* "sansa" */ 196 { 0xe494e96e, 0x3ee32966, 0x6f48512b, 0xa93fbb42 }, /* "sansa" */
197 { 0xd7b10538, 0xc662945b, 0x1b3fce68, 0xf389c0e6 }, /* "sansa_gh" */ 197 { 0xd7b10538, 0xc662945b, 0x1b3fce68, 0xf389c0e6 }, /* "sansa_gh" */
198 { 0x1d29ddc0, 0x2579c2cd, 0xce339e1a, 0x75465dfe }, /* sansa 103 */
199
200 { 0xbf2d06fa, 0xf0e23d59, 0x29738132, 0xe2d04ca7 }, /* c200 */
201 { 0x2a7968de, 0x15127979, 0x142e60a7, 0xe49c1893 }, /* c200 1.00.03 */
202 { 0xa913d139, 0xf842f398, 0x3e03f1a6, 0x060ee012 }, /* c200 1.00.06 */
198}; 203};
199 204
200/* 205/*