ST Life.augmented


Software Cryptography Library for SPC5 MCUs
  • active Active

SPC5 Software Cryptography Library provides an exhaustive set of software algorithms and ready-to-use examples for symmetric and asymmetric Encryption/Decryption, message authentication and Random Number Generation. It is an SPC5Studio Eclipse plug-in, available for free download on

The software library can run on the whole SPC5 microcontroller family.

On SPC564B/EC MCU’s, AES-128 ECB/CBC Encryption/Decryption, CMAC Message Authentication, Keys access lock/unlock, secure Key loading/update and Random Number Generation are implemented by an hardware dedicated peripheral (CSE accelerator) to guarantee minimum CPU load and maximum security level (a complete set of software drivers are available as part of SPC5Studio suite

For the other members of SPC5 family implementation is fully based on software routines.

pdf Download
Data Brief

Key Features

  • The SPC5 Software Cryptography Library supports the following 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
  • 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
  • SHA-384
  • SHA-512
  • Random engine based on DRBG-AES-128
  • SHA-512
  • 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)

Design Resources


Technical Documentation

Product Specifications

Description Version Size
DB2324: SPC5 Software Cryptography Library
1.0 117 KB

Sample & Buy

Part Number VersionMarketing StatusOrder From ST

(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors
(**) The Material Declaration forms available on may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.
Feedback Form
Customer Feedback