STMicroelectronics has successfully certified its cryptographic library for STM32 microcontrollers as per the US Cryptographic Algorithm Validation Program (CAVP). An extension to the STM32Cube software package, the X-CUBE-CRYPTOLIB library is well suited for secure STM32-based applications, such as IoT devices, point-of-sale terminals, and smart meters.
The STM32 cryptographic library includes all the major security algorithms for encryption, hashing, message authentication, and digital signing. This enables you to meet application requirements for any combination of data integrity, confidentiality, identification/authentication, and non-repudiation. The library includes firmware and hardware-acceleration functions for some STM32 families.
There are examples for each algorithm and template projects for popular development tools such as Keil MDK-ARM, IAR Embedded Workbench EWARM, and GCC-based IDEs (e.g., Ac6 SW4STM32 and Atollic TrueSTUDIO).
The approved algorithms are AES (validation number 3971), RSA (2036), ECDSA (874), SHS (3275), DRBG (1165) and HMAC (2589). Full details are available online at the NIST CSRC Algorithm Validation Lists webpage. X-CUBE-CRYPTOLIB contains many further algorithms, including DES, TripleDES, MD5, ECC with key generation, ChaCha20, Poly1305, Curve25519 and others.
The X-CUBE-CRYPTOLIB for STM32 is available free of charge under the terms of STMicro’s Software License Agreement (SLA0048).
Circuit Cellar's editorial team comprises professional engineers, technical editors, and digital media specialists. You can reach the Editorial Department at firstname.lastname@example.org, @circuitcellar, and facebook.com/circuitcellar