Skip to content

C VP generation implementation associated with the paper "Compact and Selective Disclosure for Verifiable Credentials"

Notifications You must be signed in to change notification settings

csdjwt/csd_jwt_constrained

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSD-JWT CONSTRAINED

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:

  1. VC parsing and decoding using the parson library to handle JSON structures.
  2. 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.
  3. Signs the issued VP with a ECDSA signature using Zephyr's libraries.
  4. 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.

About

C VP generation implementation associated with the paper "Compact and Selective Disclosure for Verifiable Credentials"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published