wlan: Add support for RSNXE IE for SAE

SAE key derivation requires use of a secret element, PWE. This
element is deterministically discovered by repeatedly hashing
the password with some additional information until the
resulting hash is the abscissa of a point on the elliptic curve
(for ECC) or by exponentiating the hash digest to a constant to
produce an element (for FFC). This "hunting-and-pecking" loop
method is prone to side channel attacks.

To avoid this, a direct hashing to element technique in SAE is
introduced in IEEE P802.11-REVmd/D3.0. Support new RSNX IEEE
as part of the hash to element PWE derivation. The user space
sends the RSNX IE in the connect request.

Add support to save RSNXE from connect request and pack this IE
over SAE assoc request.

Change-Id: I9f19e3e7f0c09f8402f542704b617045b3d82b66
CRs-Fixed: 3143102
2 files changed
tree: 6e28ab7b72edafe6ecb768fa5d36fd1731448155
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile