[openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-04-01 Thread Rishabh K Dubey
Dear, We have signed data on Win 7 using Crypto APIs and generated signature. We have observed this signature data needs to be reversed for verification using OpenSSL. If we reverse signature data and pass it to OpenSSL verification command then OpenSSL verifies it successfully. We wanted to

Re: [openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-04-01 Thread Viktor Dukhovni
On Wed, Apr 01, 2015 at 06:12:36AM +, Rishabh K Dubey wrote: We have signed data on Win 7 using Crypto APIs and generated signature. What sort of signature is that? We have observed this signature data needs to be reversed for verification using OpenSSL. What does reversed mean? If

Re: [openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-04-01 Thread Tom Francis
If you mean you’re using CryptSignHash(), and are reversing the bytes in the resulting signature, then yes, this is normal. You’ll need to reverse the bytes when verifying the signature with ANY other toolkit/library, including CNG. :) If it’s not too late, you should store the signature with

Re: [openssl-users] FIPS errors: finding causes for failure

2015-04-01 Thread Dr. Stephen Henson
On Wed, Apr 01, 2015, jonetsu wrote: Hello,   As part of development, still using the fips_hmac test code, this time on a target unit using 1.0.1e, the following errors are shown at the console: 3069614096:error:2D088086:FIPS routines:FIPS_selftest_x931:selftest

[openssl-users] FIPS errors: finding causes for failure

2015-04-01 Thread jonetsu
Hello,   As part of development, still using the fips_hmac test code, this time on a target unit using 1.0.1e, the following errors are shown at the console: 3069614096:error:2D088086:FIPS routines:FIPS_selftest_x931:selftest failed:fips_rand_selftest.c:171: 3069614096:error:2D082086:FIPS

Re: [openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-04-01 Thread Rishabh K Dubey
Thanks Tom for Quick response. Regards, Rishabh -Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Tom Francis Sent: Wednesday, April 01, 2015 7:17 PM To: openssl-users@openssl.org Subject: Re: [openssl-users] Is it mandatory to reverse