Re: [PATCH 0.7] Fix WPA-PSK with certain passphrases



On Fri, 2007-09-28 at 22:34 -0400, Bill Nottingham wrote:
> Passphrases are first hashed into hex, and then encoded with hexstr2bin
> before being marshalled over to wpa_supplicant. Since they are a hex
> hash, it's entirely possible that '00' will occur in the hash... which
> means you can't depend on strlen to give the right length for the binary
> encoding, and therefore must pass the length in explicitly.

Committed, thanks.

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]