\n

CRYPTO

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x3C byte (0x0)
mem_usage : registers
protection :

address_offset : 0x450 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection :

Registers

CRYPTO_RSA_CTL

CRYPTO_RSA_SADDR2

CRYPTO_RSA_SADDR3

CRYPTO_RSA_SADDR4

CRYPTO_RSA_DADDR

CRYPTO_RSA_MADDR0

CRYPTO_RSA_MADDR1

CRYPTO_RSA_MADDR2

CRYPTO_RSA_MADDR3

CRYPTO_RSA_MADDR4

CRYPTO_RSA_MADDR5

CRYPTO_RSA_MADDR6

CRYPTO_RSA_STS

CRYPTO_RSA_KSCTL

CRYPTO_RSA_KSSTS0

CRYPTO_RSA_KSSTS1

CRYPTO_RSA_SADDR0

CRYPTO_RSA_SADDR1


CRYPTO_RSA_CTL

RSA Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_CTL CRYPTO_RSA_CTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 START STOP CRT CRTBYP KEYLENG SCAP

START : RSA Accelerator Start This bit is always 0 when it is read back. RSA accelerator will ignore this START signal when BUSY flag is 1.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Start RSA accelerator. BUSY flag will be set

End of enumeration elements list.

STOP : RSA Accelerator Stop Note: This bit is always 0 when it is read back. Remember to clear RSA interrupt flag after stopping RSA accelerator.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Abort RSA accelerator and make it into initial state

End of enumeration elements list.

CRT : CRT Enable Control Note: CRT is only used in decryption with key length 2048, 3072,4096 bits.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRT Disabled

#1 : 1

CRT Enabled

End of enumeration elements list.

CRTBYP : CRT Bypass Enable Control CRT bypass is only used in CRT decryption with the same key. Note: If users want to decrypt repeatedly with the same key, they can execute CRT bypass mode after the first time CRT decryption (means the second time to the latest time), but they cannot set CRTBYP to 1 in non-CRT mode.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRT Bypass Disabled

#1 : 1

CRT Bypass Enabled

End of enumeration elements list.

KEYLENG : The Key Length of RSA Operation
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 0

1024 bits

#01 : 1

2048 bits

#10 : 2

3072 bits

#11 : 3

4096 bits

End of enumeration elements list.

SCAP : Side Channel Attack Protection Enable Control
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Side Channel Attack Protection Disabled

#1 : 1

Side Channel Attack Protection Enabled

End of enumeration elements list.


CRYPTO_RSA_SADDR2

RSA DMA Source Address Register2
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_SADDR2 CRYPTO_RSA_SADDR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SADDR2

SADDR2 : RSA DMA Source Address Register2 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA the Exponent of Exponentiation (E).
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_SADDR3

RSA DMA Source Address Register3
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_SADDR3 CRYPTO_RSA_SADDR3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SADDR3

SADDR3 : RSA DMA Source Address Register3 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA the Factor of Modulus Operation (p).
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_SADDR4

RSA DMA Source Address Register4
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_SADDR4 CRYPTO_RSA_SADDR4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SADDR4

SADDR4 : RSA DMA Source Address Register4 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA the Factor of Modulus Operation (q).
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_DADDR

RSA DMA Destination Address Register
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_DADDR CRYPTO_RSA_DADDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DADDR

DADDR : RSA DMA Destination Address Register The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA DMA Destination Address Register (Ans).
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR0

RSA DMA Middle Address Register0
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR0 CRYPTO_RSA_MADDR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR0

MADDR0 : RSA DMA Middle Address Register0 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR1

RSA DMA Middle Address Register1
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR1 CRYPTO_RSA_MADDR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR1

MADDR1 : RSA DMA Middle Address Register1 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR2

RSA DMA Middle Address Register2
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR2 CRYPTO_RSA_MADDR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR2

MADDR2 : RSA DMA Middle Address Register2 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR3

RSA DMA Middle Address Register3
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR3 CRYPTO_RSA_MADDR3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR3

MADDR3 : RSA DMA Middle Address Register3 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR4

RSA DMA Middle Address Register4
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR4 CRYPTO_RSA_MADDR4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR4

MADDR4 : RSA DMA Middle Address Register4 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR5

RSA DMA Middle Address Register5
address_offset : 0x34 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR5 CRYPTO_RSA_MADDR5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR5

MADDR5 : RSA DMA Middle Address Register5 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_MADDR6

RSA DMA Middle Address Register6
address_offset : 0x38 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_MADDR6 CRYPTO_RSA_MADDR6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MADDR6

MADDR6 : RSA DMA Middle Address Register6 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator.
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_STS

RSA Status Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_STS CRYPTO_RSA_STS read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BUSY DMABUSY BUSERR CTLERR KSERR

BUSY : RSA Accelerator Busy Flag Remember to clear RSA interrupt flag after RSA accelerator finished.
bits : 0 - 0 (1 bit)
access : read-only

Enumeration:

#0 : 0

The RSA accelerator is idle or finished

#1 : 1

The RSA accelerator is under processing and protects all registers

End of enumeration elements list.

DMABUSY : RSA DMA Busy Flag
bits : 1 - 1 (1 bit)
access : read-only

Enumeration:

#0 : 0

RSA DMA is idle or finished

#1 : 1

RSA DMA is busy

End of enumeration elements list.

BUSERR : RSA DMA Access Bus Error Flag
bits : 16 - 16 (1 bit)
access : read-only

Enumeration:

#0 : 0

No error

#1 : 1

Bus error will stop DMA operation and RSA accelerator

End of enumeration elements list.

CTLERR : RSA Control Register Error Flag Note: If the error combination of control is used even though START(CRYPTO_RSA_CTL[0]) is not set to 1, CTLERR is still set to 1.
bits : 17 - 17 (1 bit)
access : read-only

Enumeration:

#0 : 0

No error

#1 : 1

RSA control error. RSA will not start in the unsupported situation

End of enumeration elements list.

KSERR : RSA Engine Access Key Store Error Flag
bits : 18 - 18 (1 bit)
access : read-only

Enumeration:

#0 : 0

No error

#1 : 1

Access error will stop RSA engine

End of enumeration elements list.


CRYPTO_RSA_KSCTL

RSA Key Control Register
address_offset : 0x450 Bytes (0x0)
size : -1 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_KSCTL CRYPTO_RSA_KSCTL write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NUM RSRC RSSRC BKNUM

NUM : Read Key Number The key number is sent to key store
bits : 0 - 4 (5 bit)
access : write-only

RSRC : Read Key Source
bits : 5 - 5 (1 bit)
access : write-only

Enumeration:

#0 : 0

key is read from RSA engine

#1 : 1

key is read from key store

End of enumeration elements list.

RSSRC : Read Key Store Source
bits : 6 - 7 (2 bit)
access : write-only

Enumeration:

#00 : 0

Key is read from the SRAM of key store

End of enumeration elements list.

BKNUM : Read Exponent Blind Key Number The key number is sent to key store, and its destination always be the SRAM of key store. CPU can't read the exponent blind key. Note: Use this key number only when executing SCA protection but no-CRT mode.
bits : 8 - 12 (5 bit)
access : write-only


CRYPTO_RSA_KSSTS0

RSA Key Status Register 0
address_offset : 0x454 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_KSSTS0 CRYPTO_RSA_KSSTS0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NUM0 NUM1 NUM2 NUM3

NUM0 : Key Number0 The key number is generated by key store, RSA can get complete p by key number in Key Store while operating. Note: The size of this key as half key length.
bits : 0 - 4 (5 bit)
access : read-write

NUM1 : Key Number1 The key number is generated by key store, RSA can get complete q by key number in Key Store while operating. Note: The size of this key as half key length.
bits : 8 - 12 (5 bit)
access : read-write

NUM2 : Key Number2 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as key length.
bits : 16 - 20 (5 bit)
access : read-write

NUM3 : Key Number3 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as key length.
bits : 24 - 28 (5 bit)
access : read-write


CRYPTO_RSA_KSSTS1

RSA Key Status Register 1
address_offset : 0x458 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_KSSTS1 CRYPTO_RSA_KSSTS1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NUM4 NUM5 NUM6 NUM7

NUM4 : Key Number4 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as half key length.
bits : 0 - 4 (5 bit)
access : read-write

NUM5 : Key Number5 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as half key length.
bits : 8 - 12 (5 bit)
access : read-write

NUM6 : Key Number6 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as key length.
bits : 16 - 20 (5 bit)
access : read-write

NUM7 : Key Number7 The key number is generated by key store, RSA can get or store the intermediate temporary value by key number in Key Store while operating. Note: The size of this key as key length.
bits : 24 - 28 (5 bit)
access : read-write


CRYPTO_RSA_SADDR0

RSA DMA Source Address Register0
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_SADDR0 CRYPTO_RSA_SADDR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SADDR0

SADDR0 : RSA DMA Source Address Register0 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA the Base of Exponentiation (M).
bits : 0 - 31 (32 bit)
access : read-write


CRYPTO_RSA_SADDR1

RSA DMA Source Address Register1
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CRYPTO_RSA_SADDR1 CRYPTO_RSA_SADDR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SADDR1

SADDR1 : RSA DMA Source Address Register1 The RSA accelerator supports DMA function to transfer the DATA and PARAMETER between SRAM memory space and RSA accelerator. This register is stored in the address of RSA the Base of Modulus Operation (N).
bits : 0 - 31 (32 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.