MCUXpresso SDK Documentation

ele_hseb_demo

ele_hseb_demo#

Overview#

The ELE HSEB demo project is a demonstration program that uses the MCUX SDK software to perform crypto operations with HSEB EdgeLock Enclave (ELE) and usage of its services with direct use of Messaging Unit driver.

Running the demo#

Example output on terminal:

* ELE_HSEB Demo started *

Check if HSEB FW is installed...HSEB FW is installed
Get FW version...Sucess

Check if NVM and RAM key catalogs are formatted...Key catalogs are formatted
Import symmetric keys for cryptographic operation...Success
Try erase keys...Success

Check if NVM and RAM key catalogs are formatted...Key catalogs are not formatted
Formatting key catalogs...Success
Import symmetric keys for cryptographic operation...Success

Exercise crypto operations:
AES crypto - passed
HASH crypto - passed
Session key - passed
Sys authorization - passed
NVM key update - passed
AES get key info - passed
RSA crypto - passed
AEAD crypto - passed

All tests passed!!
Demo end

Supported Boards#

FRDM-MCXE31B
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXE31B board

  • Personal Computer

Board settings
ELE HSEB Firmware Installation Guide

Before using ELE HSEB, you must first install the ELE HSEB Firmware to your device.

For detailed instructions on firmware installation, please refer to the firmware README file. The relative path points to the edgelock firmware release repository that should be available in your SDK at <sdk-root>/firmware/edgelock/.

Prepare the Demo
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) 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.

FRDM-MCXE32B
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXE32B board

  • Personal Computer

Board settings
ELE HSEB Firmware Installation Guide

Before using ELE HSEB, you must first install the ELE HSEB Firmware to your device.

For detailed instructions on firmware installation, please refer to the firmware README file. The relative path points to the edgelock firmware release repository that should be available in your SDK at <sdk-root>/firmware/edgelock/.

Prepare the Demo
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) 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.