Re: Signing using EVP_PKEY_encrypt when using pkcs11 engine

2019-06-04 Thread Martin Townsend
On Mon, Jun 3, 2019 at 4:35 PM Martin Townsend wrote: > > Hi, > > I'm trying to modify the evm/ima utility so that it can use a HSM to > perform signing. I've setup SoftHSM and used this to create a > certificate with an RSA public key pair. The evmctl code creates

Signing using EVP_PKEY_encrypt when using pkcs11 engine

2019-06-03 Thread Martin Townsend
Hi, I'm trying to modify the evm/ima utility so that it can use a HSM to perform signing. I've setup SoftHSM and used this to create a certificate with an RSA public key pair. The evmctl code creates the hash and then calls a function to perform the sign operation which ends up calling len = RSA