1.1 Authenticated Encryption with Associated Data
This example application shows how to use the Crypto v4 library's API for Authenticated Encryption with Associated Data functions.
Description
This demo application tests the functionality and performance the Crypto v4 library's API AEAD hardware and software functions. Hardware and software selection is located inside the Crypto library in MCC.
Downloading and Building the Application
To clone or download this application from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions.
Path of the application within the repository is apps/crypto_examples/AEAD/firmware.
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
aead.X | MPLABX project for PIC32CZ CA9X Curiosity Ultra Development Board |
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Board |
---|---|
aead.X | PIC32CZ CA9X Curiosity Ultra Development Board |
PIC32CZ CA9X Curiosity Ultra Development Board
- Connect the ICD5 to the debugger port on the board and computer using a type c cable.
- Connect the Debug USB port on the board to the computer using a micro USB cable.
- Open a serial monitor with baud rate set to 115200, 8-bit data, no parity, 1 stop bit.
Running the Application
- Build and Program the application using MPLABX IDE v6.20
- Observe the serial COM output