1.2 Digital Signature Algorithms
This example application shows how to use the Crypto v4 library's API for Digital Signature Algorithm functions.
Description
This demo application tests the functionality and performance the Crypto v4 library's API DSA hardware and software functions. Hardware and software selection is located inside the Crypto library in MCC. This demo application tests both compressed and uncompressed keys. Compressed keys only work with software.
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/dsa/firmware.
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
dsa.X | MPLABX project for PIC32CM SG Dev Kit |
NOTE: Make sure to enable the following algorithms in MCC.
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Board |
---|---|
dsa.X | PIC32CM SG Dev Kit |
PIC32CM SG Dev Kit
- 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