RE: RSA sign and verify

2013-04-04 Thread Leon Brits
that I only pass digests to this function? Thanks Leon Brits -Original Message- From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On Behalf Of Leon Brits Sent: 15 March 2013 09:18 AM To: openssl-dev@openssl.org Subject: RE: RSA sign and verify It now

RE: RSA sign and verify

2013-03-15 Thread Leon Brits
It now works, thanks for your guidance! Leon Brits -Original Message- From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: 15 March 2013 12:42 AM To: openssl-dev@openssl.org Subject: Re: RSA sign and verify On Thu, Mar 14

RE: RSA sign and verify

2013-03-14 Thread Leon Brits
Design Engineer Parsec -Original Message- From: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: 12 March 2013 03:58 PM To: openssl-dev@openssl.org Subject: Re: RSA sign and verify On Tue, Mar 12, 2013, Leon Brits wrote: I am

Re: RSA sign and verify

2013-03-14 Thread Dr. Stephen Henson
On Thu, Mar 14, 2013, Leon Brits wrote: Just a view more questions: In my existing code, I used the EVP_SignInit/Update/Final calls. I did not set the padding so the default (RSASSA_PKCS1.5) was always used. So now, to set the padding, I've added the code as mentioned after the

Re: RSA sign and verify

2013-03-12 Thread Dr. Stephen Henson
On Tue, Mar 12, 2013, Leon Brits wrote: I am implementing a sign and verify function for RSA and DSA (for now just RSA) using the EVP methods. In the manual it says this is the preferred method. It all _works_ fine, but I have a requirement to support different padding schemes:

RE: RSA Sign and Verify overriding

2008-11-27 Thread Nanavati, Sitanshu
@openssl.org Subject: Re: RSA Sign and Verify overriding On Wed, Nov 26, 2008, Nanavati, Sitanshu wrote: Hello All, I am trying to override the RSA_sign() (with my_RSA_sign() ) and RSA_verify() (with my_RSA_verify() ) methods thru an engine. From the app I'm invoking RSA_sign(...) however the call

Re: RSA Sign and Verify overriding

2008-11-27 Thread Dr. Stephen Henson
On Thu, Nov 27, 2008, Nanavati, Sitanshu wrote: Thank you! Steve. I just added the flag; however the call goes to rsa_sign.c. I have hooked following two methods to SSLeay. Could that be a problem for Sign and verify? int (*rsa_pub_dec)(int flen, unsigned char *from,

Re: RSA Sign and Verify overriding

2008-11-26 Thread Dr. Stephen Henson
On Wed, Nov 26, 2008, Nanavati, Sitanshu wrote: Hello All, I am trying to override the RSA_sign() (with my_RSA_sign() ) and RSA_verify() (with my_RSA_verify() ) methods thru an engine. From the app I'm invoking RSA_sign(...) however the call still goes to OpenSSL method in rsa_sign.c.