Hello,
I have a question regarding to the error handling in
RSA_private_encrypt() function.
I'm currently working on research project related to the
fault-injection with using x86-64 processor simulator.
In my modified version of the processor simulator, I flip a random bit
of a general pu
Hello,
I have used RSA_private_encrypt instead of using RSA_sign and RSA_public_decrypt instead of using RSA_verify.
For verifying I have compared the hash to complete the verification.
Can there be a problem in this?
What is the difference between RSA_private_encrypt and RSA_sign
---
From:
SCH
To: [EMAIL PROTECTED]
Sent: Sunday, September 17, 2000 5:50
PM
Subject: Re: RSA_private_encrypt
To change a RSA private key, you should manually change the
rsa->d, and clear (free and set to NULL) the rsa->p, rsa->q,
rsa->dmp1, rsa->dmq1,and rsa-
em, not use the 'd' directly.
It is a faster computation.
To gain a private key you want, the nicer practise is set the e as you want.
- Original Message -
From: Dr S N Henson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 16, 2000 4:15 AM
Subjec
gt;d.
> If I check with RSA_check_key the test fails as it was supposed to do
> and also I am sure that the value has been changed when I use RSA_print!
> But when I use RSA_private_encrypt to sign a digest it uses the 'old'
> rsa->d value, the one generated with RSA_generate_
sed to do
and also I am sure that the value has been changed when I use RSA_print!
But when I use RSA_private_encrypt to sign a digest it uses the 'old'
rsa->d value, the one generated with RSA_generate_key !!!
Someone can tell me why? How does RSA_private_encrypt work?Why it
doesn't