Re: DSA signing and verification

2008-06-21 Thread Siddhartha Chhabra
; >>>>cannot convert parameter 1 from 'int (__cdecl *)(void)' to >>>>'i2d_of_void (__cdecl *)' >>>> This conversion requires a reinterpret_cast, a C-style >>>>cast or function-style cast >>>> >&

Re: DSA signing and verification

2008-06-21 Thread Siddhartha Chhabra
gt; >>> Thanks again >>> >>> >>> >>> On Sat, Jun 21, 2008 at 8:15 AM, Bill Colvin <[EMAIL PROTECTED]>> [EMAIL PROTECTED]>> wrote: >>> >>>0.9.8 have used it with f, g and h >>> >>> >>>Bill &g

Re: DSA signing and verification

2008-06-21 Thread Thomas Mangold
;] *On Behalf Of *Siddhartha Chhabra *Sent:* June 20, 2008 10:07 PM *To:* openssl-users@openssl.org <mailto:openssl-users@openssl.org> <mailto:openssl-users@openssl.org <mailto:openssl-users@openssl.org>> *

Re: DSA signing and verification

2008-06-21 Thread Siddhartha Chhabra
again >> >> >> >> On Sat, Jun 21, 2008 at 8:15 AM, Bill Colvin <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote: >> >>0.9.8 have used it with f, g and h >> >> >> Bill >> >> >>* From: * [EMAIL PROTECTED] >

Re: DSA signing and verification

2008-06-21 Thread Thomas Mangold
;mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] *On Behalf Of *Siddhartha Chhabra *Sent:* June 20, 2008 10:07 PM *To:* openssl-users@openssl.org <mailto:openssl-users@openssl.org> *Subject:* Re: DSA signing and verification

Re: DSA signing and verification

2008-06-21 Thread Siddhartha Chhabra
t; [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra > *Sent:* June 20, 2008 10:07 PM > > *To:* openssl-users@openssl.org > *Subject:* Re: DSA signing and verification > > > > What version of the library are you using ? > > On Fri, Jun 20, 2008 at 9:01 PM, Siddhartha Chh

RE: DSA signing and verification

2008-06-21 Thread Bill Colvin
0.9.8 have used it with f, g and h Bill From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha Chhabra Sent: June 20, 2008 10:07 PM To: openssl-users@openssl.org Subject: Re: DSA signing and verification What version of the library

Re: DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
t; >> Bill >> ------ >> >> *From:* [EMAIL PROTECTED] [mailto: >> [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra >> *Sent:* June 20, 2008 8:39 PM >> *To:* openssl-users@openssl.org >> *Subject:* Re: DSA signing and verification

Re: DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
> > > > Bill > -- > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra > *Sent:* June 20, 2008 8:39 PM > *To:* openssl-users@openssl.org > *Subject:* Re: DSA signing and verification > >

RE: DSA signing and verification

2008-06-20 Thread Bill Colvin
le to the remote */ /* where the remote does the following assuming that fptr references the public key file */ dsa_E = PEM_read_DSAPublicKey( fptr, NULL, NULL, NULL ); Bill From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha Chhabra S

Re: DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
t;>> >>> >>> >>> >>> >>> /* Then to save the public key to a file referenced by fptr */ >>> >>> >>> >>> DSA *dsa_E=NULL; >>> >>> >>> >>> /* Generate your DSA key so

Re: DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
i = PEM_write_DSAPublicKey(fptr, dsa_E ); >> >> >> >> /* Transfer the public key file to the remote */ >> >> /* where the remote does the following assuming that fptr references the >> public key file */ >> >> >> >>

Re: DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
ey( fptr, NULL, NULL, NULL ); > > > > > > Bill > -------------- > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Siddhartha Chhabra > *Sent:* June 20, 2008 7:37 PM > *To:* openssl-users@openssl.org > *Subject:* DSA sign

RE: DSA signing and verification

2008-06-20 Thread Bill Colvin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha Chhabra Sent: June 20, 2008 7:37 PM To: openssl-users@openssl.org Subject: DSA signing and verification Hi all, I am trying to use DSA_sign and DSA_verify functions to generate a signature and verify it. If I do this

Re: DSA signing and verification

2008-06-20 Thread javierm
ublic > key > counterpart of the private key that was used to sign in the first place. > > Thanks for the help > > -- View this message in context: http://www.nabble.com/DSA-signing-and-verification-tp18039169p1

DSA signing and verification

2008-06-20 Thread Siddhartha Chhabra
Hi all, I am trying to use DSA_sign and DSA_verify functions to generate a signature and verify it. If I do this in the same file, that is signing and then verifying using the public key, things go on smoothly. However, if I try to save the DSA structure, that is by saving each of the values other