ST STM32G4 Series Reference Manual page 33

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
31.7.6
31.7.7
31.7.8
31.7.9
31.7.10 LPTIM register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1440
32
Infrared interface (IRTIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
33
AES hardware accelerator (AES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
33.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
33.2
AES main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
33.3
AES implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
33.4
AES functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
33.4.1
33.4.2
33.4.3
33.4.4
33.4.5
33.4.6
33.4.7
33.4.8
33.4.9
33.4.10 AES Galois/counter mode (GCM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1464
33.4.11 AES Galois message authentication code (GMAC) . . . . . . . . . . . . . 1469
33.4.12 AES counter with CBC-MAC (CCM) . . . . . . . . . . . . . . . . . . . . . . . . . 1471
33.4.13 AES data registers and data swapping . . . . . . . . . . . . . . . . . . . . . . . 1477
33.4.14 AES key registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479
33.4.15 AES initialization vector registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479
33.4.16 AES DMA interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479
33.4.17 AES error management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1482
33.5
AES interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1482
33.6
AES processing latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1483
33.7
AES registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1485
33.7.1
33.7.2
33.7.3
LPTIM compare register (LPTIM_CMP) . . . . . . . . . . . . . . . . . . . . . . 1437
LPTIM autoreload register (LPTIM_ARR) . . . . . . . . . . . . . . . . . . . . . 1438
LPTIM counter register (LPTIM_CNT) . . . . . . . . . . . . . . . . . . . . . . . . 1438
LPTIM option register (LPTIM_OR) . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
AES block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
AES internal signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
AES cryptographic core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1445
AES procedure to perform a cipher operation . . . . . . . . . . . . . . . . . . 1450
AES decryption key preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1454
AES ciphertext stealing and data padding . . . . . . . . . . . . . . . . . . . . . 1455
AES task suspend and resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1456
AES basic chaining modes (ECB, CBC) . . . . . . . . . . . . . . . . . . . . . . 1456
AES counter (CTR) mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1461
AES control register (AES_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1485
AES status register (AES_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1487
AES data input register (AES_DINR) . . . . . . . . . . . . . . . . . . . . . . . . 1489
RM0440 Rev 1
Contents
33/2083
47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Table of Contents

Save PDF