Skip to content

Commit

Permalink
removed incorrect aleck 64 cic checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
Polprzewodnikowy committed Dec 13, 2023
1 parent 9190a5a commit f4ffacd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions sw/bootloader/src/cic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion sw/deployer/src/sc64/cic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ fn calculate_ipl3_checksum(ipl3: &[u8], seed: u8) -> Result<u64, Error> {

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
Expand Down

0 comments on commit f4ffacd

Please sign in to comment.