Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 526 Bytes

README.MD

File metadata and controls

16 lines (12 loc) · 526 Bytes

This example demonstrates how to use the eHSM Hardware Security Module to do elliptic curve cryptography.

For updated documentation, see the how-to.

Prerequisites: an initialized eHSM with a user password set.

Note: edit main.c to ensure that the path to the eHSM pkcs11 shared library is correct for your platform.

Test and build instructions

mkdir build
cd build
cmake ..
make
./c_ehsm_example1 "user password"