XORSign
This sample demonstrates the addition of a new signing mechanism by patching existing PKCS#11 digest functions.
The new mechanism is bitwise exclusive OR with name CKM_XOR.
Execute the test app with –g to generate the required key:
xortest –g