]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/rsn_supp/peerkey.h
Added support for using SHA256-based stronger key derivation for WPA2
[thirdparty/hostap.git] / src / rsn_supp / peerkey.h
index f69c68f4037fc0dce6813ada6599e7160b5a3369..2613127c3ea488a92a26a829bf5da5ea74d558ea 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * WPA Supplicant - PeerKey for Direct Link Setup (DLS)
- * Copyright (c) 2006, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2006-2008, Jouni Malinen <j@w1.fi>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -34,6 +34,7 @@ struct wpa_peerkey {
        int cipher; /* Selected cipher (WPA_CIPHER_*) */
        u8 replay_counter[WPA_REPLAY_COUNTER_LEN];
        int replay_counter_set;
+       int use_sha256; /* whether AKMP indicate SHA256-based derivations */
 
        struct wpa_ptk stk, tstk;
        int stk_set, tstk_set;