CHACHA_IV[n]

nRF5340 Product Specification

Address offset: 0x3A8 + (n × 0x4)

CHACHA Initialization Vector (IV) to use. The IV is also known as the nonce.

The size of the nonce is controlled from register CHACHA_CONTROL.

For 64 bits IV size the nonce value must be encoded using:
  • CHACHA_IV[0] : Bits [31:0] of the nonce
  • CHACHA_IV[1] : Bits [63:32] of the nonce
For 96 bits IV size the nonce value must be encoded using:
  • CHACHA_BLOCK_CNT_MSB : Bits [31:0] of the nonce
  • CHACHA_IV[0] : Bits [63:32] of the nonce
  • CHACHA_IV[1] : Bits [95:64] of the nonce
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 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
ID R/W Field Value ID Value Description
A

RW

VALUE

CHACHA IV value.