From: Jouni Malinen Date: Sun, 23 Oct 2016 09:31:55 +0000 (+0300) Subject: driver: Add option to pass FILS KEK/AAD to the driver for association X-Git-Tag: hostap_2_7~2196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac56c39532c0d6be5bea618818675ed549cd50bc;p=thirdparty%2Fhostap.git driver: Add option to pass FILS KEK/AAD to the driver for association This allows the FILS KEK and AAD data (nonces) to be configured to the driver for association so that the driver can encrypt the (Re)Association Request frame and decrypt the (Re)Association Response frame. Signed-off-by: Jouni Malinen --- diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 7636acae7..2a4ac8758 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -886,6 +886,27 @@ struct wpa_driver_associate_params { * AP as usual. Valid for DMG network only. */ int pbss; + + /** + * fils_kek - KEK for FILS association frame protection (AES-SIV) + */ + const u8 *fils_kek; + + /** + * fils_kek_len: Length of fils_kek in bytes + */ + size_t fils_kek_len; + + /** + * fils_nonces - Nonces for FILS association frame protection + * (AES-SIV AAD) + */ + const u8 *fils_nonces; + + /** + * fils_nonces_len: Length of fils_nonce in bytes + */ + size_t fils_nonces_len; }; enum hide_ssid {