stm32 /stm32n6 /STM32N657 /MCE1 /MCE_CC2CFGR

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 MCE_CC2CFGR

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 (B_0x0)CCEN 0 (B_0x0)CCLOCK 0 (B_0x0)KEYLOCK 0MODE 0KEYCRC0VERSION

CCLOCK=B_0x0, CCEN=B_0x0, KEYLOCK=B_0x0

Description

MCE cipher context 2 configuration register

Fields

CCEN

Cipher context enable

0 (B_0x0): If an enabled region selects CTXID=z bypass mode is selected by MCE

1 (B_0x1): If an enabled region selects CTXID=z with ENC=01 MCE selects with the stream cipher the information stored in MCE_CCzCFGR, MCE_CCzNR and MCE_CCzKEYR. If the enabled region selects ENC=10 or 11 instead MCE selects with the block cipher the key information stored in MCE_CCzKEYR. When CCEN is set and MODE[1:0] bits do not allow the configuration written in ENC[1:0] bits (see MODE bitfield) reads return zero and writes are ignored.

CCLOCK

Cipher context lock

0 (B_0x0): Writes to MCE_CCzCFGR and MCE_CCzNR registers are allowed

1 (B_0x1): Writes to MCE_CCzCFGR and MCE_CCzNR registers are ignored until next MCE reset.

KEYLOCK

Key lock

0 (B_0x0): Writes to MCE_CCzKEYR registers are allowed

1 (B_0x1): Writes to MCE_CCzKEYR registers are ignored until next MCE reset. KEYCRC bitfield value does not change.

MODE

Authorized cipher mode

2 (B_0x2): Block cipher is allowed with this cipher context

3 (B_0x3): Fast block cipher is allowed with this cipher context

KEYCRC

Key CRC

VERSION

Version

Links

()