From ac56c39532c0d6be5bea618818675ed549cd50bc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 23 Oct 2016 12:31:55 +0300 Subject: [PATCH] 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 --- src/drivers/driver.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 {