<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>RE: WPA PSK-key length problem?</TITLE>
</HEAD>
<BODY>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">I</FONT><FONT SIZE=2 FACE="Courier New">n</FONT> <FONT SIZE=2 FACE="Courier New">fact here is the</FONT> <FONT SIZE=2 FACE="Courier New">packet which</FONT> <FONT SIZE=2 FACE="Courier New">is generated by the</FONT> <FONT SIZE=2 FACE="Courier New">WAP</FONT> <FONT SIZE=2 FACE="Courier New">cli</FONT><FONT SIZE=2 FACE="Courier New">e</FONT><FONT SIZE=2 FACE="Courier New">nt</FONT> <FONT SIZE=2 FACE="Courier New">I</FONT><FONT SIZE=2 FACE="Courier New"></FONT> <FONT SIZE=2 FACE="Courier New">am</FONT> <FONT SIZE=2 FACE="Courier New">using,</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">00 0f 34 89 29 8d 00 40 17 8b 82 f5 88 8e 01 03</FONT><FONT SIZE=2 FACE="Courier New">00 77 fe 09 01 00 20 00 00 00 00 00 00 00 01 51</FONT><FONT SIZE=2 FACE="Courier New">2f d3 48 cd 31 98 0e b7 55 6b 6a 2f a9 57 88 0d</FONT><FONT SIZE=2 FACE="Courier New">11 c2 a3 42 4c 89 ee 42 a6 c5 26 7b 58 2c 94 45</FONT><FONT SIZE=2 FACE="Courier New">43 44 49 44 43 45 47 44 46 43 41 43 41 43 41 43</FONT><FONT SIZE=2 FACE="Courier New">41 43 41 43 41 41 41 00 00 20 00 01 c0 0c 00 f9</FONT><FONT SIZE=2 FACE="Courier New">86 a2 e4 75 54 a6 9b c3 33 ea 71 1e 94 23 ab</FONT><B> <FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">18</FONT></B><B><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">00</FONT></B><FONT SIZE=2 FACE="Courier New"> dd 16 00 50 f2 01 01 00 00 50 f2 05 01 00 00</FONT><FONT SIZE=2 FACE="Courier New">50 f2 02 01 00 00 50 f2 02</FONT></P>
<BR>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">a</FONT><FONT SIZE=2 FACE="Courier New">nd</FONT> <FONT SIZE=2 FACE="Courier New">here too the length is in</FONT><FONT SIZE=2 FACE="Courier New"></FONT> <FONT SIZE=2 FACE="Courier New">fact 18 i.e.</FONT> <FONT SIZE=2 FACE="Courier New">24.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">I</FONT><FONT SIZE=2 FACE="Courier New"></FONT> <FONT SIZE=2 FACE="Courier New">am also wondering</FONT> <FONT SIZE=2 FACE="Courier New">why AP is expecting 26 bytes</FONT><FONT SIZE=2 FACE="Courier New"> in your case</FONT><FONT SIZE=2 FACE="Courier New">...</FONT></P>
<BR>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">-----Original Message-----<BR>
</FONT><FONT SIZE=2 FACE="Courier New">From:</FONT><FONT SIZE=2 FACE="Courier New"> hostap-bounces+manojv=noida.hcltech.com@shmoo.com [<A HREF="mailto:hostap-bounces+manojv=noida.hcltech.com@shmoo.com">mailto:hostap-bounces+manojv=noida.hcltech.com@shmoo.com</A>]</FONT> <FONT SIZE=2 FACE="Courier New">On Behalf Of</FONT> <FONT SIZE=2 FACE="Courier New">Holger</FONT> <FONT SIZE=2 FACE="Courier New">Schurig<BR>
</FONT><FONT SIZE=2 FACE="Courier New">Sent:</FONT><FONT SIZE=2 FACE="Courier New"> Monday, March 07, 2005 4:37 PM<BR>
</FONT><FONT SIZE=2 FACE="Courier New">To:</FONT><FONT SIZE=2 FACE="Courier New"> hostap@shmoo.com<BR>
</FONT><FONT SIZE=2 FACE="Courier New">Subject:</FONT><FONT SIZE=2 FACE="Courier New"> Re: WPA PSK-key length problem?</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Hmm, I dissected the sent key and got this:</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Dest MAC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 12 7f 8b 62 30</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Source MAC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 10 c6 30 9b fe</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">EAPOL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 88 8e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ETH_P_EAPOL</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Packet Type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 03&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = IEEE802_1X_TYPE_EAPOL_KEY</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">Packet Body Len:&nbsp; 00 77&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 119</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = EAPOL_KEY_TYPE_WPA</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_info:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01 09</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_len:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 20</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">replay_counter:&nbsp;&nbsp; 00 00 00 00 00 00 00 02</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_nonce:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cf 1d 81 62 ab c0 30 7a 7e c0 31 43 c9 0d 49 7f</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 79 97 12 8c 05 36 a7 cd 86 f0 b3 ef 7b 12 0d ec</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_iv:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_rsc:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 00 00 00 00 00 00 00</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 00 00 00 00 00 00 00</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">key_mic:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 96 5f c7 be 53 3f 7f a7 f9 36 d</FONT><FONT SIZE=2 FACE="Courier New">9 c3 e4 80 e7 62</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">data_length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 24 bytes</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">WPA-IE:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; f2 02 01 00 00 50 f2 02</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">But I fail to see why the AP expects 26 bytes.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">________________________________________</FONT><FONT SIZE=2 FACE="Courier New">_______</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">HostAP mailing list</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New">HostAP@shmoo.com</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Courier New"><A HREF="http://lists.shmoo.com/mailman/listinfo/hostap" TARGET="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</A></FONT></P>

</BODY>
</HTML>