RA Flexible Software Package Documentation
Release v5.2.0
|
|
Driver for the CAVP Certified Secure Crypto Engine (SCE) on RA MCUs.
v1.0.0
The version that appears on the Components tab of the FSP Configuration editor is v1.0.0+fsp.<fsp_version>. The <fsp_version> metadata reflects tooling support files only and does not indicate any changes to the CAVP certified code. See Module Versioning for more information about component versioning in FSP.
The user documentation for the functions in this module.
This module provides SCE CAVP Certified functions.
Obtained device certification with RA6M4.
Crypto Peripheral version | Devices |
---|---|
SCE9 (Protected mode) | RA4M2, RA4M3, RA6M4, RA6M5 |
The SCE module supports for the following features.
This module does not require a specific clock configuration.
This module does not use I/O pins.
Start by creating a new project in e² studio or RASC. On the Stacks tab, add New > Security > SCE Protected Mode(CAVP Certified). For information on how to install and update secure keys, refer to the Application Note R11AN0496.
The SCE does not support SHA-384 in hardware, so the APIs listed below require the user to create a SHA-384 function for signature generation and verification. To use the APIs listed below, enable SCE_USER_SHA_384_ENABLED on RA Smart Configurator and prepare a function called SCE_USER_SHA_384_FUNCTION. The interface of SCE_USER_SHA_384_FUNCTION, which is called by the following APIs, is described below.
SHA-384 hash calculation is performed for an area extending the number of bytes specified by the argument message_length from the address specified by the argument message. The calculation result should be stored at the address specified by the argument digest.
message | [in] Start address of message |
digest | [in,out] address for storing hash calculation result (48 bytes) |
message_length | [in] Effective byte count of message |
0 | Hash value stored successfully. |
others | Storing of hash value failed. |
This is an example of AES-256 encryption and decryption.