CHACHA_ENDIANNESS

nRF5340 Product Specification

Address offset: 0x3E4

CHACHA engine data order configuration.

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 E D C B 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

CHACHA_DIN_WORD_ORDER

Change the word order of the input data.

Default

0

Use default word order for 128-bits input, where words are ordered as follows: w0, w1, w2, w3.

Reverse

1

Reverses the word order for 128-bits input, where words are re-ordered as follows: w3, w2, w1, w0.

B

RW

CHACHA_DIN_BYTE_ORDER

Change the byte order of the input data.

Default

0

Use default byte order within each input word, where bytes are ordered as follows: B0, B1, B2, B3.

Reverse

1

Reverse the byte order within each input word, where bytes are re-ordered as follows: B3, B2, B1, B0.

C

RW

CHACHA_CORE_MATRIX_LBE_ORDER

Change the quarter of a matrix order in the engine.

Default

0

Use default quarter of matrix order, where quarters are ordered as follows: q0, q1, q2, q3. Each quarter represents a 128-bits section of the matrix.

Reverse

1

Reverse the order of matrix quarters, where quarters are re-ordered as follows: q3, q2, q1, q0. Each quarter represents a 128-bits section of the matrix.

D

RW

CHACHA_DOUT_WORD_ORDER

Change the word order of the output data.

Default

0

Uses default word order for 128-bits output, where words are ordered as follows: w0, w1, w2, w3.

Reverse

1

Reverse the word order for 128-bits output, where words are re-ordered as follows: w3, w2, w1, w0.

E

RW

CHACHA_DOUT_BYTE_ORDER

Change the byte order of the output data.

Default

0

Use default byte order within each output word, where bytes are ordered as follows: B0, B1, B2, B3.

Reverse

1

Reverse the byte order within each output word, where bytes are re-ordered as follows: B3, B2, B1, B0.