Hello Fabrizio,
actually the whole private key and all its components are not loaded with
ENGINE_load_private_key. Only a part of them (modulus and public exponent).
These components are enough to, for example, make a key/certificate match
verification.
Once a private key operation is
Hello Brett,
First, to your comment: "I'm just confused as to at what point in the RSA
encryption/decryption process my engine should be invoked at":
It really depends on how your hardware performs the operations.
I mean, you are right, if you set RSA_FLAG_EXT_PKEY then you only have to
gs SHA256+RSA » to one of your command lines.
Cordialement,
Erwann Abalea
Le 9 juin 2017 à 09:45, Ignacio Alamo Corsino
<nacao2...@hotmail.com<mailto:nacao2...@hotmail.com>> a écrit :
Hello everyone,
i am having some issues understanding the RSA_sign function:
RSA_sign(int type, co
Hello everyone,
i am having some issues understanding the RSA_sign function:
RSA_sign(int type, const unsigned char *m, unsigned int m_len, unsigned char
*sigret, unsigned int *siglen, RSA *rsa);
As far as I know, the signing is a four step process:
- Calculate hash with digest algorithm