Cryptosystem: Difference between revisions
Line 171: | Line 171: | ||
.. and on 3.0.0, they moved keyslots around a little to generate the same per-console key as 1.0.0: | .. and on 3.0.0, they moved keyslots around a little to generate the same per-console key as 1.0.0: | ||
old_keyblob_key /* slot10 */ = aes_unwrap(aes_unwrap(df206f59.., tsec_key /* slot13 */), sbk /* slot14 */) | |||
keyblob_key | keyblob_key /* slot13 */ = aes_unwrap(aes_unwrap(0c25615d.., tsec_key /* slot13 */), sbk /* slot14 */) | ||
cmac_key | cmac_key /* slot11 */ = aes_unwrap(59c7fb6f.., keyblob_key) | ||
if aes_cmac(buf=keyblob+0x10, len=0xA0, cmac_key) != keyblob[0:0x10]: | if aes_cmac(buf=keyblob+0x10, len=0xA0, cmac_key) != keyblob[0:0x10]: | ||
Line 183: | Line 183: | ||
package1_key /* slot11 */ = keyblob[0x80:0x90] | package1_key /* slot11 */ = keyblob[0x80:0x90] | ||
master_key /* slot12 */ = aes_unwrap(bct->pubkey[0] == 0x4f ? normalseed_dev : normalseed_retail, keyblob+0x20) | master_key /* slot12 */ = aes_unwrap(bct->pubkey[0] == 0x4f ? normalseed_dev : normalseed_retail, keyblob+0x20) | ||
per_console_key /* slot13 */ = aes_unwrap(4f025f0e.., | per_console_key /* slot13 */ = aes_unwrap(4f025f0e.., old_keyblob_key) | ||