Hi Jakob,

Thanks for your reply, please find the details given below and also please
look topic which I have posted in the same forum today with the title
"openssl-1.0.1e RSA signature verification fails" which will some more
details.

1. How many bits are your RSA public key (the modulus), this is 
   also the number of bits in the signature. 
It is 128 bits

2. Which hash algorithm (such as MD5 or SHA-256) is used by the 
   signature you are trying to verify? 

It is SHA1 not sure whether it SHA-256(as such I am searching for the right
algorithm string to pass to EVP_PKEY_asn1_find_str(&tmpeng, algname, -1)
function.

3. Which RSA padding scheme is used when converting the raw hash 
   value into RSA input?  For example are you using PKCS#1 v. 1.x 
   padding, PSS (PKCS#1 v. 2.1), or one of the ISO 9796 schemes. 

Padding method is EVP_MD_CTX ctx  EVP_MD_CTX_FLAG_PAD_PKCS1

Hope to get the answer for this.

Thanks,
Lavanya




--
View this message in context: 
http://openssl.6102.n7.nabble.com/Hi-tp45235p45258.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to