Re: [PATCH v2 08/20] PASN: Add functions to compute PTK, MIC and hash

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

 



On Wed, Dec 16, 2020 at 01:00:21PM +0200, Ilan Peer wrote:
> + * pasn_use_sha384 - Should SHA384 be used or SHA256

> + * second PASN frame. SHA-256 is used as the hash algorithm, except for the
> + * ciphers 00-0F-AC:9 and 00-0F-AC:10 for which SHA-384 is used.
> + */
> +static u8 pasn_use_sha384(int akmp, int cipher)
> +{
> +	return (akmp == WPA_KEY_MGMT_PASN && (cipher == WPA_CIPHER_CCMP_256 ||
> +					      cipher == WPA_CIPHER_GCMP)) ||
> +		wpa_key_mgmt_sha384(akmp);
> +}

That WPA_CIPHER_GCMP is the 128-bit variant (00-0F-AC:8), not the
256-bit variant (00-AF-AC:9) that is being referenced here, so I'll fix
that to match.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux