Dr. Henson:

I did not specifically set FIPS mode. How do I check whether my code is running 
at FIPS mode?

Thanks

Helen



________________________________
 From: Dr. Stephen Henson <st...@openssl.org>
To: openssl-users@openssl.org 
Sent: Friday, January 3, 2014 9:20 PM
Subject: Re: Got: error:0408D068:rsa routines:FIPS_RSA_VERIFY:bad signature
 

On Fri, Jan 03, 2014, HelenH Zhang wrote:


> Hi,
> 
> I am looking for the reason:
> 
> error:0408D068:rsa routines:FIPS_RSA_VERIFY:bad signature
> 
> I am using:
> 
> EVP_MD_CTX_init(&mdctx);
> EVP_PKEY_assign_RSA(pkey, rsaKey);
> EVP_VerifyInit()
> EVP_VerifyUpdate()
> EVP_VerifyFinal()
> 
> 
> I checked the returned value at each step. However, I got the above error in 
> the final step.
> What could be the possible cause for this error?
> 

Do you get the error outside FIPS mode?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                          majord...@openssl.org

Reply via email to