Cryptosystem: Difference between revisions
| Line 166: | Line 166: | ||
   // Final keys:  |    // Final keys:  | ||
   package1_key    /* slot11 */ = keyblob[0x80:0x90]  |    package1_key    /* slot11 */ = keyblob[0x80:0x90]  | ||
   master_key      /* slot12 */ = aes_unwrap(bct->pubkey[0] == 0x4f ?   |    master_key      /* slot12 */ = aes_unwrap(bct->pubkey[0] == 0x4f ? normalseed_dev : normalseed_retail, keyblob+0x20)  | ||
   per_console_key /* slot13 */ = aes_unwrap(4f025f0e.., keyblob_key)  |    per_console_key /* slot13 */ = aes_unwrap(4f025f0e.., keyblob_key)  | ||