Re: Java signature verification fail in openssl

2011-10-04 Thread brajan
Jakob Bohm-7 wrote: > > On 10/4/2011 4:58 PM, brajan wrote: >> hi >> can any one tell me why the signature verification in openssl fail when >> the >> message is signed bu java IBM fips compliant.i am using openssl 0.9.8g in >> power Pc. i am getting error in >> >> if (((unsigned int)sig

Re: Java signature verification fail in openssl

2011-10-04 Thread brajan
Jeffrey Walton-3 wrote: > > On Tue, Oct 4, 2011 at 10:58 AM, brajan wrote: >> >> hi >>  can any one tell me why the signature verification in openssl fail when >> the >> message is signed bu java IBM fips compliant.i am using openssl 0.9.8g in >> power Pc. i am getting error in >> >>        if

RE: Java signature verification fail in openssl

2011-10-04 Thread brajan
My steps are 1. raw data eg.balamurugan 2. i am calculating hash for this data using sha256 which is 256 bit for readable i convert this into (32 to 64 byte) hex string not hex represent. eg hash string is a123sdf... which is 64 characters 3. now i am giving this 64 character string into

Re: FIPS-capable OpenSSL that works on Windows NT

2011-10-04 Thread Jeffrey Walton
On Wed, Oct 5, 2011 at 12:59 AM, William A. Rowe Jr. wrote: > On 10/4/2011 10:45 PM, Bill Durant wrote: >> >> Does anyone know how to produce a FIPS-capable OpenSSL that works on Windows >> NT? > > It's likely not possible... > >> But when I run it under Windows NT, I get the following run-time e

Re: FIPS-capable OpenSSL that works on Windows NT

2011-10-04 Thread William A. Rowe Jr.
On 10/4/2011 10:45 PM, Bill Durant wrote: > > Does anyone know how to produce a FIPS-capable OpenSSL that works on Windows > NT? It's likely not possible... > But when I run it under Windows NT, I get the following run-time error: > > "The procedure entry point Module32NextW could not be

FIPS-capable OpenSSL that works on Windows NT

2011-10-04 Thread Bill Durant
Hello, Does anyone know how to produce a FIPS-capable OpenSSL that works on Windows NT? I have built the latest FIPS-capable OpenSSL (openssl-fips-1.2.3) with openssl-0.9.8r using MS Visual Studio .NET 2003 on Windows 7. I have a small app that uses the OpenSSL library (just encrypts/decrypts

RE: Java signature verification fail in openssl

2011-10-04 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of brajan > Sent: Tuesday, 04 October, 2011 10:58 > can any one tell me why the signature verification in > openssl fail when the > message is signed bu java IBM fips compliant.i am using > openssl 0.9.8g in > power Pc. i am getting error in >

Re: Java signature verification fail in openssl

2011-10-04 Thread Jeffrey Walton
On Tue, Oct 4, 2011 at 10:58 AM, brajan wrote: > > hi >  can any one tell me why the signature verification in openssl fail when the > message is signed bu java IBM fips compliant.i am using openssl 0.9.8g in > power Pc. i am getting error in > >        if (((unsigned int)sig->digest->length != m_

Re: Java signature verification fail in openssl

2011-10-04 Thread Jakob Bohm
On 10/4/2011 4:58 PM, brajan wrote: hi can any one tell me why the signature verification in openssl fail when the message is signed bu java IBM fips compliant.i am using openssl 0.9.8g in power Pc. i am getting error in if (((unsigned int)sig->digest->length != m_len) || (memcmp(m,sig

Java signature verification fail in openssl

2011-10-04 Thread brajan
hi can any one tell me why the signature verification in openssl fail when the message is signed bu java IBM fips compliant.i am using openssl 0.9.8g in power Pc. i am getting error in if (((unsigned int)sig->digest->length != m_len) || (memcmp(m,sig->digest->data,m_len) != 0)) line of