AES Registers: Difference between revisions

Dazzozo (talk | contribs)
pathetic
Line 379: Line 379:
|-
|-
| 0x0B
| 0x0B
| This is console-unique. This keyslot is used for the NAND [[Title_Database|dbs]] images AESMACs, and the [[Nand/private/movable.sed]] AESMAC(when used).
| This is console-unique. This keyslot is used for the NAND [[Title_Database|dbs]] images AES-CMACs, and the [[Nand/private/movable.sed]] AES-CMAC(when used).
| See above keyslot info.
| See above keyslot info.
| See above keyslot info.
| See above keyslot info.
Line 439: Line 439:
|-
|-
| 0x19
| 0x19
| New3DS gamecard [[Savegames|savedata]] AES-MAC key.
| New3DS gamecard [[Savegames|savedata]] AES-CMAC key.


Equivalent of keyslot 0x33, used when a [[NCSD]] flag is set to a certain value (implemented with [[9.3.0-21|9.3.0-X]]).
Equivalent of keyslot 0x33, used when a [[NCSD]] flag is set to a certain value (implemented with [[9.3.0-21|9.3.0-X]]).
Line 464: Line 464:
|-
|-
| 0x24
| 0x24
| AGB_FIRM savegame AES-MAC key.
| AGB_FIRM savegame AES-CMAC key.
| Bootrom.
| Bootrom.
| AGB/NATIVE_FIRM.
| AGB/NATIVE_FIRM.
Line 510: Line 510:
|-
|-
| 0x30
| 0x30
| SD/NAND AES-MAC key.
| SD/NAND AES-CMAC key.


This keyY is initialized via [[Nand/private/movable.sed|movable.sed]]. This is used for calculating the AESMACs under SD [[SD_Filesystem|/Nintendo 3DS/<ID0>/<ID1>/]] (except [[DSiWare_Exports]]) and [[Flash_Filesystem|NAND]] /data/.
This keyY is initialized via [[Nand/private/movable.sed|movable.sed]]. This is used for calculating the AES-CMACs under SD [[SD_Filesystem|/Nintendo 3DS/<ID0>/<ID1>/]] (except [[DSiWare_Exports]]) and [[Flash_Filesystem|NAND]] /data/.
| Bootrom.
| Bootrom.
| NATIVE_FIRM.
| NATIVE_FIRM.
Line 537: Line 537:
|-
|-
| 0x33
| 0x33
| Gamecard [[Savegames|savedata]] AES-MAC.
| Gamecard [[Savegames|savedata]] AES-CMAC.
| Bootrom.
| Bootrom.
| NATIVE_FIRM.
| NATIVE_FIRM.
Line 555: Line 555:
| Movable.sed key.
| Movable.sed key.


This is the keyslot used for movable.sed encryption + AES-MAC with the import/export [[FSPXI:ImportIntegrityVerificationSeed|commands]].
This is the keyslot used for movable.sed encryption + AES-CMAC with the import/export [[FSPXI:ImportIntegrityVerificationSeed|commands]].
| Bootrom.
| Bootrom.
| Bootrom.
| Bootrom.
Line 598: Line 598:
| DSiWare export key.
| DSiWare export key.


This keyY is initialized via [[Nand/private/movable.sed|movable.sed]]. This is used for calculating the AESMACs for SD [[DSiWare_Exports]].
This keyY is initialized via [[Nand/private/movable.sed|movable.sed]]. This is used for calculating the AES-CMACs for SD [[DSiWare_Exports]].
| Bootrom.
| Bootrom.
| NATIVE_FIRM.
| NATIVE_FIRM.
Line 607: Line 607:
| [[CTRCARD_Registers#CTRCARD_SECSEED|CTR-CARD hardware-crypto seed]] decryption key.
| [[CTRCARD_Registers#CTRCARD_SECSEED|CTR-CARD hardware-crypto seed]] decryption key.


AES-CCM is used, the keyY, nonce and MAC are stored in the [[NCSD#Card_Info_Header|Card Info Header]].
AES-CCM is used, the keyY, nonce and CMAC are stored in the [[NCSD#Card_Info_Header|Card Info Header]].
| Bootrom.
| Bootrom.
| NATIVE_FIRM.
| NATIVE_FIRM.