\n

CRYPTOACC_NS_PKCTRL

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x1000 byte (0x0)
mem_usage : registers
protection : not protected

Registers

POINTER

VERSION

TIMER

COMMAND

PKCTRL

PKSTATUS


POINTER

No Description
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

POINTER POINTER 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 OPPTRA OPPTRB OPPTRC OPPTRN

OPPTRA : OpPtrA
bits : 0 - 3 (4 bit)
access : read-write

OPPTRB : OpPtrB
bits : 8 - 11 (4 bit)
access : read-write

OPPTRC : OpPtrC
bits : 16 - 19 (4 bit)
access : read-write

OPPTRN : OpPtrN
bits : 24 - 27 (4 bit)
access : read-write


VERSION

No Description
address_offset : 0x10 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

VERSION VERSION 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 SW HW

SW : Software version number
bits : 0 - 7 (8 bit)
access : read-only

HW : Hardware version number
bits : 8 - 15 (8 bit)
access : read-only


TIMER

No Description
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

TIMER TIMER 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 TIMER

TIMER : Timer
bits : 0 - 31 (32 bit)
access : read-only


COMMAND

No Description
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMMAND COMMAND 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 OPERATION FIELD SIZE SELCURVE EDWARDS BUFSEL SWAPBYTES FLAGA FLAGB CALCR2

OPERATION : Type of Operation
bits : 0 - 6 (7 bit)
access : read-write

FIELD : Field
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : GFP

Field is GF(p)

1 : GF2M

Field is GF(2^m)

End of enumeration elements list.

SIZE : Size of Operands in data memory
bits : 8 - 18 (11 bit)
access : read-write

SELCURVE : Select Curve
bits : 20 - 22 (3 bit)
access : read-write

Enumeration:

0 : NONE

No acceleration

1 : P256

P256

2 : P384

P384

3 : P521

P521/E-521

4 : P192

P192

5 : C25519

Curve25519/Ed25519

End of enumeration elements list.

EDWARDS : Edwards Curve Enable
bits : 26 - 26 (1 bit)
access : read-write

BUFSEL : Buffer Select
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

0 : MEM0

use data in data memory 0

End of enumeration elements list.

SWAPBYTES : Swap bytes
bits : 28 - 28 (1 bit)
access : read-write

Enumeration:

0 : NATIVE

Native format (little endian)

1 : SWAPPED

Byte swapped (big endian)

End of enumeration elements list.

FLAGA : Flag A
bits : 29 - 29 (1 bit)
access : read-write

FLAGB : Flag B
bits : 30 - 30 (1 bit)
access : read-write

CALCR2 : Calculate R2
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

0 : FALSE

don't recalculate R² mod N

1 : TRUE

re-calculate R² mod N

End of enumeration elements list.


PKCTRL

No Description
address_offset : 0x8 Bytes (0x0)
access : write-only
reset_value : 0x0
reset_Mask : 0x0

PKCTRL PKCTRL 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 PKSTART IFC

PKSTART : PK Start
bits : 0 - 0 (1 bit)
access : write-only

IFC : ClearIRQ
bits : 1 - 1 (1 bit)
access : write-only


PKSTATUS

No Description
address_offset : 0xC Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

PKSTATUS PKSTATUS 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 FAILADDR NOTONCURVE ATINFINITY COUPLENOTVALID PARAMNNOTVALID NOTIMPLEMENTED SIGNOTVALID PARAMABNOTVALID NOTINVERTIBLE COMPOSITE NOTQUAD PKBUSY PKIF

FAILADDR : Fail Address
bits : 0 - 3 (4 bit)
access : read-only

NOTONCURVE : Point Px not on curve
bits : 4 - 4 (1 bit)
access : read-only

ATINFINITY : Point Px at infinity
bits : 5 - 5 (1 bit)
access : read-only

COUPLENOTVALID : Couple not valid
bits : 6 - 6 (1 bit)
access : read-only

PARAMNNOTVALID : Param n not valid
bits : 7 - 7 (1 bit)
access : read-only

NOTIMPLEMENTED : Not implemented
bits : 8 - 8 (1 bit)
access : read-only

SIGNOTVALID : Signature not valid
bits : 9 - 9 (1 bit)
access : read-only

PARAMABNOTVALID : Param AB not valid
bits : 10 - 10 (1 bit)
access : read-only

NOTINVERTIBLE : Not invertible
bits : 11 - 11 (1 bit)
access : read-only

COMPOSITE : Composite
bits : 12 - 12 (1 bit)
access : read-only

Enumeration:

0 : FALSE

random number under test is probably prime

1 : TRUE

random number under test is composite

End of enumeration elements list.

NOTQUAD : Not quadratic residue
bits : 13 - 13 (1 bit)
access : read-only

PKBUSY : PK busy
bits : 16 - 16 (1 bit)
access : read-only

PKIF : Interrupt status
bits : 17 - 17 (1 bit)
access : read-only



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.