l_oliveira
Grand Master
The whole thing with this is that ANY cryptographic function passed on to the card or read back from the card which involves decrypted data (for example on this case it's KC and KBIT keys for the K file), the data sent or received is supposed to be encrypted with the session key because on the real environment the IOP never sees any cryptographic data that has been decrypted, the whole point of the session key is keep the data out of reach from the IOP or anyone eavesdropping the card slot with an logic analyzer.
KC is the key used to encrypt the contents sectors and KBIT is the key used to decrypt the contents table. Each key is 128bits long. These two are the 32 bytes at the 0x28 offset of a K file.
KC is the key used to encrypt the contents sectors and KBIT is the key used to decrypt the contents table. Each key is 128bits long. These two are the 32 bytes at the 0x28 offset of a K file.