ele_symmetric

Overview

The ELE keystore application provides example how to use SSSAPI to export key into blob and later import it back.

Running the demo

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

ELE Keystore via SSSAPI Example

Initialize RNG for opaque key generation...OK
Generate opaque key...OK
Encrypt message by AES CBC using opaque key...OK
Export opaque key as blob...OK
Delete key from keystore...OK
Free all object, close keystore and session...OK
Open session and keystore...OK
Import blob into ELE...OK
Decryption previously encrypted message...OK
Decrypted message matches with plaintext, that means imported and exported key is the same.

End of Example with SUCCESS!!

Example end

Supported Boards