RSA Registers: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
= Registers = | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! | ! Old3DS | ||
! | ! Name | ||
! | ! Address | ||
! Width | |||
! Used by | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_CNT|RSA_CNT]] | |||
| 0x1000B000 | | 0x1000B000 | ||
| 0x04 | | 0x04 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_SLOT|RSA_SLOT]]0 | |||
| 0x1000B100 | | 0x1000B100 | ||
| 0x10 | | 0x10 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_SLOT|RSA_SLOT]]1 | |||
| 0x1000B110 | | 0x1000B110 | ||
| 0x10 | | 0x10 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_SLOT|RSA_SLOT]]2 | |||
| 0x1000B120 | | 0x1000B120 | ||
| 0x10 | | 0x10 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_SLOT|RSA_SLOT]]3 | |||
| 0x1000B130 | | 0x1000B130 | ||
| 0x10 | | 0x10 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_EXPFIFO|RSA_EXPFIFO]] | |||
| 0x1000B200 | | 0x1000B200 | ||
| 0x04 | | 0x04 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_MOD|RSA_MOD]] | |||
| 0x1000B400 | | 0x1000B400 | ||
| 0x100 | | 0x100 | ||
| | |||
|- | |- | ||
| | | style="background: green" | Yes | ||
| [[#RSA_TXT|RSA_TXT]] | |||
| 0x1000B800 | | 0x1000B800 | ||
| 0x100 | | 0x100 | ||
| | | | ||
|} | |} | ||
== | == RSA_CNT == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bit | ! Bit | ||
Line 60: | Line 77: | ||
|} | |} | ||
== | == RSA_SLOT == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Start | ! Start | ||
Line 83: | Line 100: | ||
|} | |} | ||
== | == RSA_SLOTCNT == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | ! Bits | ||
Line 101: | Line 118: | ||
|} | |} | ||
Before writing | Before writing RSA_EXPFIFO/RSA_MOD, bit0 here should be cleared when bit31 is already clear. Otherwise, the ARM9 will hang when attempting to write to RSA_EXPFIFO. | ||
== | == RSA_SLOTSIZE == | ||
This contains the RSA size for this slot, in words. Normally this is 0x40 for RSA-2048. | This contains the RSA size for this slot, in words. Normally this is 0x40 for RSA-2048. | ||
== | == RSA_EXPFIFO == | ||
The 0x100-byte private or public exponent is written to this write-only FIFO. | The 0x100-byte private or public exponent is written to this write-only FIFO. | ||