Hi,
I want to change from a self-programmed dh-implementation for ike on a embedded 
device to openssl/dh.
As far as I understood, DH_generate_parameters() creates a dh_st object.
I can choose between different prime-lengths i want it to search for a prime p 
for the g^x mod p. Where as g is the base of the formula.

With DH_generate_key i can then use the dh_st to calculate the result of "g^x 
mod p".

But how can i use specific the DH groups 1,2,5,14-18 stated in 
http://tools.ietf.org/html/rfc3526 and http://tools.ietf.org/html/rfc2412

Thanks,

Marius Peschke
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to