MCUXpresso SDK Documentation

ele_asymmetric

ele_asymmetric#

Overview#

The ELE asymmetric application provides example how to use SSSAPI to perform asymmetric cryptographic operations.

Running the demo#

The following lines are printed to the serial terminal when the demo program is executed.

ELE Asymmetric via SSSAPI Example

**** ECDSA with P-521 [opaque key] ****
Init key object...OK
Allocate key object handle...OK
Initialize RNG before key generation...OK
Generate P-521 opaque key pair...OK
Init asymmetric context for signing...OK
Sign message digest...OK
Init asymmetric context for verification...OK
Verify signature...OK
Clean up...OK

**** EdDSA with Curve25519 [transparent key] ****
Init key object...OK
Allocate key object handle...OK
Set Curve25519 key pair...OK
Init asymmetric context for signing...OK
Sign message...OK
Init asymmetric context for verification...OK
Verify signature...OK
Clean up...OK

End of Example with SUCCESS!!

Example end

Supported Boards#

FRDM-MCXW71
Hardware requirements
  • Micro USB cable

  • Personal Computer

  • FRDM-MCXW71 board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect the micro and mini USB cable between the PC host and the USB ports on the board.

  2. Open a serial terminal on PC for the serial device with these 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.

MCX-W71-EVK
Hardware requirements
  • Micro USB cable

  • Personal Computer

  • FRDM-MCXW71 board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these 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.

KW45B41Z-EVK
Hardware requirements
  • Micro USB cable

  • Personal Computer

  • KW45B41Z-EVK board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect the micro and mini USB cable between the PC host and the USB ports on the board.

  2. Open a serial terminal on PC for the serial device with these 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.

KW47-EVK
Hardware requirements
  • Micro USB cable

  • Personal Computer

  • KW47-EVK Board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  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.

MCX-W72-EVK
Hardware requirements
  • Micro USB cable

  • Personal Computer

  • MCX-W72-EVK Board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  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.

KW47-LOC
Hardware requirements
  • Type-C USB cable

  • Personal Computer

  • KW47-LOC Board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  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.

MCXW72-LOC
Hardware requirements
  • Type-C USB cable

  • Personal Computer

  • MCXW72-LOC Board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  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-MCXW72
Hardware requirements
  • Type-C USB cable

  • Personal Computer

  • FRDM-MCXW72 Board

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  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.