Re: FIPS mode and RSA_verify confusion

2012-02-17 Thread john hagen
Thank you very much. Recoded my test app for the EVP_Verify routines, things are working as expected now. Now back to making sense of all the key format (DER,PEM,BER) options. This is new stuff for me. JH On 2/16/12, Dr. Stephen Henson wrote: > On Thu, Feb 16, 2012, john hagen wrote: > >> Can

Re: FIPS mode and RSA_verify confusion

2012-02-16 Thread Dr. Stephen Henson
On Thu, Feb 16, 2012, john hagen wrote: > Can someone shed some light on the following? > > I'm able to 'verify' via the command line like this: > "# env OPENSSL_FIPS=1 ./openssl dgst -sha512 -verify pub.pem > -signature format.sign format.c > Verified OK" > > Programmatically I get the followin

FIPS mode and RSA_verify confusion

2012-02-16 Thread john hagen
Can someone shed some light on the following? I'm able to 'verify' via the command line like this: "# env OPENSSL_FIPS=1 ./openssl dgst -sha512 -verify pub.pem -signature format.sign format.c Verified OK" Programmatically I get the following runtime error. "(error:0407708E:rsa routines:RSA_verify