AM64x MCU+ SDK  08.02.00
SA2UL Module

The SA2_UL subsystem is designed to provide low-cost hardware cryptographic acceleration.

Block diagram

Sa2ul block diagram

Examples

Here user can initiate operations like

  • Secure Hash Algorithms
    • SHA256, SHA512
  • Hash-based Message Authentication Code
    • HMAC SHA-256, HMAC SHA-512, HMAC SHA1
  • Advanced Encryption Standard
    • AES-CBC(128/256)(Cipher Block Chaining)
    • AES-ECB(128/256)(Electronic Code Book)
    • AES-CMAC(128/256)(Cipher-based Message Authentication Code)
  • RNG(Random number generator)
  • PKA(Supports Public-key accelerator)

Sa2ul Crypto

  • Sa2ul performs
    • Initialize Sa2ul HW engine,
    • Initialize pkt DMA,
    • Set up Tx and Rx channels
    • Secure Context Allocation
    • Secure context process (Push, Pop)
    • Hmac Ipad and opad Calculation
    • Free the secure context configuration
    • Setup the SA2UL RNG module.
    • Read the random numbers and stored into the output buffer
    • PKA RSA Encryption and Decryption
    • PKA RSA Signing and Verification

Directory Structure

Given below is a overview of the directory structure to help you navigate the Crypto structure.

Folder/Files Description
source/security/crypto Contains Crypto driver files
source/security/crypto/sa2ul Contains Sa2ul driver files
examples/security Contains Crypto examples

See Also