The SA2_UL subsystem is designed to provide a generic cryptographic acceleration for different use cases such as secure boot, secure content, key exchange etc.
This sequence performs Encryption and decryption operations for AES-CBC/ECB algorithms. Supported key lengths are 128 and 256 bit.
This sequence performs SHA-512 and SHA-256.
This sequence performs HMAC SHA-512, SHA-256 and SHA1.
This sequence performs AES CMAC-128 and CMAC-256.
Include the below file to access the SA2UL SHA APIs
sa2ul_sha Example
Include the below file to access the SA2UL AES CBC APIs
sa2ul_aes_cbc Example
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 |
source/security/crypto/pka | Contains Pka driver files |
examples/security | Contains all Security examples |