PvcFromPin

Create a PVC from a PIN using PKCS#5 password based encryption.

Synopsis

void PvcFromPin(unsigned char * key,unsigned int klen,CK_USER_TYPE user,const unsigned char * pin,unsigned int pinLen); 
Parameter Description
key Resulting pvc
klen Number of bytes referenced by key
user Salt value
pin Password
pinLen Number of bytes referenced by pin

On Successful Return

key — contains the pvc