Implementing Diffie-Hellman

Chuck Tuffli CTuffli at
Tue Jul 29 14:33:59 EDT 2008

The current WPS patch uses Diffie-Hellman functions from OpenSSL, and in
an effort to reduce the external dependencies, I'm trying to implement
this using some of the available crypto routines such as
crypto_mod_exp(). The question is which of the crypto*.c files to use
and do these routines require files other than those include with
wpa_supplicant (e.g. tomcrypt.h)? Or if this is a bad approach, let me
know that too. Thanks!


More information about the HostAP mailing list