>
> This is probably a stupid question. :-)
> I generated a keypair for DSA ,signed some data and stored the
> public/private keys for later use.
>
> Later on I want to verify the data i previously signed.
> So I just create a DSA struct and and add the public key to it.
> But that doesn't work, since the DSA struct needs p,q,g.
> How do I get those from my private/public keys??
You don't. Either you apps has to use the same p,g, and q or
you must send it with the public key. In my application
I short them as static char variables.
If you want to take a look at my code you can find it at:
http://sourceforge.net/project/showfiles.php?group_id=21495&release_id=26717
For that matter I would be grateful of others would code review it.
Darryl
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]