mac80111: Add BIP-GMAC-128 and BIP-GMAC-256 ciphers
[cascardo/linux.git] / net / mac80211 / key.h
index 27580da..d57a991 100644 (file)
@@ -94,6 +94,13 @@ struct ieee80211_key {
                        u32 replays; /* dot11RSNAStatsCMACReplays */
                        u32 icverrors; /* dot11RSNAStatsCMACICVErrors */
                } aes_cmac;
+               struct {
+                       atomic64_t tx_pn;
+                       u8 rx_pn[IEEE80211_GMAC_PN_LEN];
+                       struct crypto_aead *tfm;
+                       u32 replays; /* dot11RSNAStatsCMACReplays */
+                       u32 icverrors; /* dot11RSNAStatsCMACICVErrors */
+               } aes_gmac;
                struct {
                        atomic64_t tx_pn;
                        /* Last received packet number. The first