Crypto¶
Overview¶
An example to illustrate the usage of crypto APIs.
Building and Running¶
Make sure you have the csk6 boards connected over Jlink debuger.
The sample can be built and flashed as follows:
lisa zep build -b csk6002_9s_nano
lisa zep flash
Sample Output¶
*** Booting Zephyr OS build v1.0.3-alpha.1-1-g1cd2b6612079 ***
I: AES128 ECB Cipher Sample
I: Output length (encryption): 16
I: ECB mode ENCRYPT - Match
I: Output length (decryption): 16
I: ECB mode DECRYPT - Match