STM32 cryptographic library (STM32-CRYP-LIB)
STM32 cryptographic library supports the following cryptographic algorithms:
AES-128, AES-192, AES-256 bits.
Supported modes are:
– ECB (Electronic Codebook Mode)
– CBC (Cipher-Block Chaining) with support for ciphertext stealing
– CTR (CounTer Mode)
– CCM (Counter with CBC-MAC)
– GCM (Galois Counter Mode)
– CMAC
– KEY WRAP
ARC4
DES, TripleDES. Supported modes are:
– ECB (Electronic Codebook Mode)
– CBC (Cipher-Block Chaining)
HASH functions with HMAC support:
– MD5
– SHA-1
– SHA-224
– SHA-256
Random engine based on DRBG-AES-128
RSA signature functions with PKCS#1v1.5
ECC (Elliptic Curve Cryptography):
– Key generation
– Scalar multiplication (the base for ECDH)
– ECDSA
These cryptographic algorithms can run in the series STM32F1, STM32L1, STM32F2,
STM32F4, STM32F0 and STM32F3 with hardware enhancement accelerators.
STM32 Cryptographic Library User Manual (UM0586)
Online (YouTube) there is a very interesting course regarding the cryptography and STM32.
If you are interested in this, see here.