This example demonstrates how to use the eHSM Hardware Security Module to do elliptic curve cryptography.
For updated documentation, see the how-to.
Note: edit main.c to ensure that the path to the eHSM pkcs11 shared library is correct for your platform.
mkdir build
cd build
cmake ..
make
./c_ehsm_example1 "user password"