Re: openssl Signature Verification Failure : “RSA_padding_check_PKCS1_type_1:block type is not 01”

2012-06-07 Thread Ken Goldman
I typically divide the problem in two. Do a raw public key operation. If you see something that looks random, then the public key doesn't match the private key used to generate the signature, or either the public key or signature has been altered. If it looks like padding + OID + hash, then

Re: openssl Signature Verification Failure : “RSA_padding_check_PKCS1_type_1:block type is not 01”

2012-06-07 Thread Lunar Mushrooms
Here is the vector and code that is provided in the link: /* VECTOR SOURCE: csrc.nist.gov/groups/STM/cavp/documents/dss/RSAVS.pdf B.1.3 SigVerRSA.req., it's "Result = P" as per B.3.3 SigVerRSA.rsp # CAVS 3.2 # "SigVer RSA (X9.31)" information for "testshas" # Mod sizes selected: 1024 1536 # SHA A

RE: Openssl signature verification

2009-02-01 Thread Ajeet kumar.S
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Dave Thompson Sent: Saturday, January 31, 2009 8:11 AM To: openssl-users@openssl.org Subject: RE: Openssl signature verification > From: owner-openssl-us...@openssl.org On Behalf Of Ajeet kumar.S > Sent: Friday, 30 January, 2009 00:07

RE: Openssl signature verification

2009-01-30 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Ajeet kumar.S > Sent: Friday, 30 January, 2009 00:07 > In openssl API X509_verify(X509 *a, EVP_PKEY *r) is used to verify > the signature of certificate. I have some doubt please help me. > Is in this API we are passing the CA certificate and