stm32 /stm32wb0 /STM32WB05 /PKA /PKA_CR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as PKA_CR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 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 (EN)EN 0 (START)START 0 (SECLVL)SECLVL 0MODE0 (PROCENDIE)PROCENDIE 0 (RAMERRIE)RAMERRIE 0 (ADDRERRIE)ADDRERRIE

Description

PKA_CR register

Fields

EN

Peripheral enable.

  • 0 : Disable PKA.
  • 1 : Enable PKA.
START

Start the operation

  • 0: No operation
  • 1: Writing 1’ to this bit starts the operation which is selected by MODE[5:0], using the operands and data already written to the PKA RAM. This bit is always read as 0’. Nota: START is ignored if PKA is busy.
SECLVL

Security enable.

  • 0: No side channel countermeasure
  • 1: Square and Multiply always / Double and Add always
MODE

PKA operation code

  • 000000 : Compute Montgomery parameter and modular exponentiation
  • 000001 : Compute Montgomery parameter
  • 000010 : Compute modular exponentiation only (Montgomery parameter should be loaded)
  • 100000 : Compute Montgomery parameter and compute ECC kP operation
  • 100010 : Compute the ECC kP primitive only (Montgomery parameter should be loaded)
  • 100100 : ECDSA sign
  • 100110 : ECDSA Verification
  • 101000 : Point Check
  • 000111 : RSA CRT exponentiation
  • 001000 : Modular inversion
  • 001001 : Arithmetic addition
  • 001010 : Arithmetic Subtraction
  • 001011 : Arithmetic multiplication
  • 001100 : Comparison
  • 001101 : Modular Reduction
  • 001110 : Modular Addition
  • 001111 : Modular Subtraction
  • 010000 : Montgomery Multiplication
PROCENDIE

End of operation interrupt enable

  • 0: Interrupt is disabled.
  • 1: An interrupt is generated when PROCENDF (PKA_SR[17]) is set.
RAMERRIE

RAM error interrupt enable

  • 0: Interrupt is disabled.
  • 1: An interrupt is generated when RAMERRF (PKA_SR[19]) is set.
ADDRERRIE

Address error interrupt enable

  • 0: Interrupt is disabled.
  • 1: An interrupt is generated when ADDRERRF (PKA_SR[20] is set.

Links

()