Hardware requirements

  • Mini/micro USB cable

  • MIMXRT1180-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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.

****************** Compute HMAC (SHA256) of message ******* SUCCESS Computed HMAC (#1) matches the expected value.

SUCCESS Computed HMAC (#2) matches the expected value.

****************** Compute ONESHOT Fast HMAC ************** SUCCESS Fast HMAC Start done.

SUCCESS Computed OneShot Fast HMAC matches the expected value.

SUCCESS Internally verified OneShot Fast HMAC matches expected value.

****************** Compute PRELOADED Fast HMAC ************

SUCCESS Buffer 0 preload completed.

SUCCESS Buffer 0 HMAC matches expected value AND buffer 1 preload completed.

SUCCESS Buffer 1 HMAC matches expected value.

SUCCESS Buffer 1 preload for internal verification completed.

SUCCESS Buffer 1 internally verified HMAC matches expected value.

SUCCESS Fast HMAC End done.

End of Example with SUCCESS!!