STM32 cryptographic firmware library software expansion for STM32Cube (UM1924)

STM32 crypto library package (X-CUBE-CRYPTOLIB) is based on STM32Cube architecture package and includes a set of crypto algorithms based on firmware implementation ready to use in all STM32 microcontrollers. This software is classified ECCN 5D002.

For dedicated devices some algorithms are supported with hardware acceleration, to optimize the performance and the footprint usage.

Up to 31 examples are provided in this package, covering all the available algorithms with template projects for the most common development tools, such as: Keil®MDK-ARM, IAR EWARM (IAR Embedded Workbench®), GCC-based IDEs (free AC6: SW4STM32, Atollic®TrueSTUDIO®,...). Even without the appropriate hardware evaluation board, this layer allows the user to quickly get started with a new STM32 cryptographic firmware library brand.

Key Features

  • Crypto algorithms supported are:
  • AES-128, AES-192, AES-256 bits:
    • ECB (Electronic Codebook Mode)
    • CBC (Cipher-Block Chaining) with support for ciphertext stealing
    • CTR (Counter Mode)
    • CFB (Cipher Feedback)
    • OFB (Output Feedback)
    • CCM (Counter with CBC-MAC)
    • GCM (Galois Counter Mode)
    • CMAC
    • KEY WRAP
    • XTS (XEX-based tweaked-codebook mode with ciphertext stealing)
  • ARC4
  • DES, TripleDES:
    • ECB (Electronic Codebook Mode)
    • CBC (Cipher-Block Chaining)
  • HASH functions with HMAC support:
    • MD5
    • SHA-1
    • SHA-224
    • SHA-256
    • SHA-384
    • SHA-512
  • ChaCha20
  • Poly1305
  • CHACHA20-POLY1305
  • Random engine based on DRBG-AES-128
  • RSA signature functions with PKCS#1v1.5
  • RSA encryption/decryption functions with PKCS#1v1.5
  • ECC (Elliptic Curve Cryptography):
    • Key generation
    • Scalar multiplication (the base for ECDH)
    • ECDSA
  • ED25519
  • Curve25519

Resources

Technical Documentation

Product Specifications
Description Version Size
DB2660 DB2660: STM32 crypto library software expansion for STM32Cube 4.0 139 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB
UM1924 UM1924: STM32 crypto library 4.0 2 MB

Presentations & Training Material

Presentations
Description Version Size
STM32 and STM8 embedded software solutions 6.0 2 MB
X-CUBE-CRYPTOLIB FIPS CAVP certification 842 KB

Publications and Collaterals

Brochures
Description Version Size
STM32 Open Development Environment Brochure 17.09 1 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 544 KB

Legal

License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 4.13 87 KB

Tools and Software

Embedded Software
MCUs Embedded Software

Get Software

Part Number General Description Software Version Supplier Marketing Status Download
X-CUBE-CRYPTOLIB STM32 cryptographic firmware library software expansion for STM32Cube (UM1924) 3.1.0 ST Active

 

Support & Community


×