Hello,
Does the following method of assigning the value of P & g (which are in hex
representation in a string) look okay?
<code snippet>
a = DH_new();
if (a == NULL)
goto err;
BN_hex2bn (&a->p, (const char *)Prime);
BN_hex2bn (&a->g, (const char *)Generator);
DH_check(a, &i);
<\code snippet>
Also, for a given P and g, would the DH_generate_key() generate the same
public key always?
Thanks in advance for your response.
-- Bala
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]