This test retrieves timings, CPU, RAM usage from attempting to issue a Verifiable Presentation using Nordic Semiconductor devices. Specifically, the test is executed on a nrf52840dk development kit.
The test performs the following operations:
- VC parsing and decoding using the parson library to handle JSON structures.
- Modification of the VC in two formats: sd-jwt and csd-jwt. The program clones the VC and substitutes respectively the Salt-Value Container and the Witness-Value Container to only disclose a subset of claims.
- Signs the issued VP with a ECDSA signature using Zephyr's libraries.
- Produces timings with regards to the issuance of the VP. Also produces CPU and RAM utilization.
In prj.conf enable and disable testing of SD-JWT and CSD-JWT respectively using the macros CONFIG_TEST_CSD_JWT, and CONFIG_TEST_SD_JWT. In prj.conf allow usage of either VCs with 10 claims or 100 claims by switching the macro CONFIG_USE_SHORT_VCS.