ele_elgamal#
Overview#
The ELE Elgamal application provides an example how to load loadable FW into ELE and how to distingush when FW is loaded, then to import ElGamal blob and print out the computed shared secret value.
Running the demo#
The following lines are printed to the serial terminal when the demo program is executed.
ELE Elgamal example
Load ELE FW...OK
Initialize and set the local private key...OK
Initialize key object for the shared secret...OK
Import the blob into ELE...OK
Retrieve the shared secret into plaintext buffer...OK
The shared secret is
99 99 96 A7 89 A3 BC 0 45 C8 A5 FB 42 C7 D1 BD
Computed shared secret matches expected value...OK
Example end
Supported Boards#
KW47-EVK
Hardware requirements
Type-C USB cable
KW47-EVK Board
Personal Computer
Board settings
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
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.