资 源 简 介
STM32 Cryptographic Library
Introduction
This manual describes the API of the STM32 cryptographic library (STM32-CRYP-LIB) that
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, STM32 L1, STM32F2,
STM32F4, STM32F0 and STM32F3 with hardware enhancement accelerators.