STM32 Cryptographic Library
4.0分
STM32CryptographicLibrary
Introduction
ThismanualdescribestheAPIoftheSTM32cryptographiclibrary(STM32-CRYP-LIB)that
supportsthefollowingcryptographicalgorithms:
AES-128,AES-192,AES-256bits.Supportedmodesare:
–ECB(ElectronicCodebookMode)
–CBC(Cipher-BlockChaining)withsupportforciphertextstealing
–CTR(CounTerMode)
–CCM(CounterwithCBC-MAC)
–GCM(GaloisCounterMode)
–CMAC
–KEYWRAP
ARC4
DES,TripleDES.Supportedmodesare:
–ECB(ElectronicCodebookMode)
–CBC(Cipher-BlockChaining)
HASHfunctionswithHMACsupport:
–MD5
–SHA-1
–SHA-224
–SHA-256
RandomenginebasedonDRBG-AES-128
RSAsignaturefunctionswithPKCS#1v1.5
ECC(EllipticCurveCryptography):
–Keygeneration
–Scalarmultiplication(thebaseforECDH)
–ECDSA
ThesecryptographicalgorithmscanrunintheseriesSTM32F1,STM32L1,STM32F2,
STM32F4,STM32F0andSTM32F3withhardwareenhancementaccelerators.