ele_crypto_common#
Overview#
The ELE Crypto Example project is a demonstration program that uses the MCUX SDK software to perform crypto operations with EdgeLock Enclave (ELE) and usage of its services with direct use of Messaging Unit driver.
Running the demo#
Example output on terminal:
EdgeLock Enclave Sub-System crypto example:
****************** Load EdgeLock FW *********************** EdgeLock FW loaded and authenticated successfully.
****************** Compute Hash (SHA256) of massage ******* SUCCESS Computed HASH matches the expected value.
SUCCESS HASH Init done.
SUCCESS HASH Update done.
SUCCESS Computed HASH (Finish) matches the expected value.
****************** Start RNG ****************************** EdgeLock RNG Start success.
EdgeLock RNG ready to use.
****************** Get RNG Random ********************** Get RNG random data successfully. First word: 0xbcd7f0de
End of Example with SUCCESS!!
Supported Boards#
MIMXRT1180-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT1180-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
Example output on terminal:
EdgeLock Enclave Sub-System crypto example:
****************** Load EdgeLock FW *********************** EdgeLock FW loaded and authenticated successfully.
****************** Compute Hash (SHA256) of massage ******* SUCCESS Computed HASH matches the expected value.
SUCCESS HASH Init done.
SUCCESS HASH Update done.
SUCCESS Computed HASH (Finish) matches the expected value.
****************** Start RNG ****************************** EdgeLock RNG Start success.
EdgeLock RNG ready to use.
****************** Get RNG Random ********************** Get RNG random data successfully. First word: 0xbcd7f0de
End of Example with SUCCESS!!
FRDM-IMXRT1186
Hardware requirements
Type-C USB cable
FRDM-IMXRT1186 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
Example output on terminal:
EdgeLock Enclave Sub-System crypto example:
****************** Load EdgeLock FW *********************** EdgeLock FW loaded and authenticated successfully.
****************** Compute Hash (SHA256) of massage ******* SUCCESS Computed HASH matches the expected value.
SUCCESS HASH Init done.
SUCCESS HASH Update done.
SUCCESS Computed HASH (Finish) matches the expected value.
****************** Start RNG ****************************** EdgeLock RNG Start success.
EdgeLock RNG ready to use.
****************** Get RNG Random ********************** Get RNG random data successfully. First word: 0xbcd7f0de
End of Example with SUCCESS!!