<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>RE: Implementing Diffie-Hellman</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>On Wed, Jul 30, 2008 at 5:27 AM, Jouni Malinen wrote:<BR>
<BR>
&gt; On Tue, Jul 29, 2008 at 11:33:59AM -0700, Chuck Tuffli wrote:<BR>
&gt;<BR>
&gt; &gt; The current WPS patch uses Diffie-Hellman functions from OpenSSL, and in<BR>
&gt; &gt; an effort to reduce the external dependencies, I'm trying to implement<BR>
&gt; &gt; this using some of the available crypto routines such as<BR>
&gt; &gt; crypto_mod_exp(). The question is which of the crypto*.c files to use<BR>
&gt; &gt; and do these routines require files other than those include with<BR>
&gt; &gt; wpa_supplicant (e.g. tomcrypt.h)?<BR>
&gt;<BR>
&gt; The current wpa_supplicant (0.6.x) comes with an optional Diffie-Hellman<BR>
&gt; implementation in src/crypto/dh_groups.c. This is used for EAP-IKEv2 and<BR>
<BR>
Ok, I will use this for 0.6.x development, but what can I do for 0.5.10?<BR>
<BR>
---chuck<BR>
</FONT>
</P>

</BODY>
</HTML>