From f4ffacd9b44eaf0287830334b656efc926fd8a18 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Wed, 13 Dec 2023 22:28:45 +0100 Subject: [PATCH] removed incorrect aleck 64 cic checksums --- sw/bootloader/src/cic.c | 3 --- sw/deployer/src/sc64/cic.rs | 1 - 2 files changed, 4 deletions(-) diff --git a/sw/bootloader/src/cic.c b/sw/bootloader/src/cic.c index c082ddc..5a1aaf8 100644 --- a/sw/bootloader/src/cic.c +++ b/sw/bootloader/src/cic.c @@ -113,9 +113,6 @@ cic_type_t cic_detect (uint8_t *ipl3) { switch (cic_calculate_ipl3_checksum(ipl3, 0x91)) { case 0x8618A45BC2D3ULL: return CIC_x105; // 6105 / 7105 } - switch (cic_calculate_ipl3_checksum(ipl3, 0xAC)) { - case 0x5930D81014DAULL: return CIC_5101; // Aleck 64 - } switch (cic_calculate_ipl3_checksum(ipl3, 0xDD)) { case 0x6EE8D9E84970ULL: return CIC_8401; // NDXJ0 case 0x6C216495C8B9ULL: return CIC_8301; // NDDJ0 diff --git a/sw/deployer/src/sc64/cic.rs b/sw/deployer/src/sc64/cic.rs index b207b87..cb6d93e 100644 --- a/sw/deployer/src/sc64/cic.rs +++ b/sw/deployer/src/sc64/cic.rs @@ -112,7 +112,6 @@ fn calculate_ipl3_checksum(ipl3: &[u8], seed: u8) -> Result { pub fn sign_ipl3(ipl3: &[u8]) -> Result<(u8, u64), Error> { let known_seed_checksum_pairs = [ - (0xAC, 0x5930D81014DAu64), // 5101 (0xDD, 0x083C6C77E0B1u64), // 5167 (0x3F, 0x45CC73EE317Au64), // 6101 (0x3F, 0x44160EC5D9AFu64), // 7102