diff --git a/source/safety/validator.c b/source/safety/validator.c index c108502..8aac2ec 100644 --- a/source/safety/validator.c +++ b/source/safety/validator.c @@ -30,7 +30,7 @@ const u8 sectorHash[0x20] = { 0xBA, 0xB2, 0x4B, 0x4E, 0x5F, 0x65, 0xC9, 0x81, 0xCD, 0x7B, 0xE6, 0xF4, 0x38, 0xE6, 0xD9, 0xD3 }; -// standard sighax signature hash - still unknown +// standard sighax signature hash - still unknown (= missing puzzle piece) const u8 sighaxHash[0x20] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 @@ -100,7 +100,6 @@ u32 ValidateSector(void* sector) { } u32 CheckFirmSigHax(void* firm) { - return 0; // not like we can check that already (!!!) FirmHeader* header = (FirmHeader*) firm; return (sha_cmp(sighaxHash, header->signature, 0x100, SHA256_MODE) == 0) ? 0 : 1; }