Software Cryptography Library for SPC5 MCUs

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.

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
    • 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
    • SHA-384
    • SHA-512
  • Random engine based on DRBG-AES-128
  • SHA-512
  • RSA signature functions with PKCS#1v1.5
  • ECC (Elliptic Curve Cryptography):
    • Key generation
    • Scalar multiplication (the base for ECDH)
    • ECDSA



Description バージョン サイズ
DB2324 DB2324: SPC5 Software Cryptography Library 1.0 116 KB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
SPC56 Ecosysteme June 2014 1.0 1 MB


Description バージョン サイズ
SLA0056 SLA0056: Software license agreement 1.2 56 KB

ツール & ソフトウェア

MCUs Embedded Software


製品型番 Software Version Marketing Status Supplier Order from ST
SPC5-CRYP-LIB 1.0.0 Active ST