Skip to content

gshaurya18/aes_cbc_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install SoftHSMv2

This example uses rust-cryptoki

Clone the repo. To run the test:

mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
export PKCS11_SOFTHSM2_MODULE="/usr/lib/softhsm/libsofthsm2.so"
export SOFTHSM2_CONF="/tmp/softhsm2.conf"

Set PKCS11_SOFTHSM2_MODULE according to the location of the softhsm pkcs11 library.

Then run: cargo run

Several assertions fail: track softhsm/SoftHSMv2#782

About

Testing CKM_AES_CBC wrap operation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages