aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-09 16:04:53 (GMT)
committerJouni Malinen <j@w1.fi>2012-09-09 16:04:53 (GMT)
commite88f0901ebfeac3cd07b8408c880bb4d8c3dbdb9 (patch)
tree468e9a5aa68263166caedc410e928d6167090f3d /wlantest/wlantest.h
parent7d19d3e9db33b31e768c94e3e9101cd7b28402b9 (diff)
downloadhostap-e88f0901ebfeac3cd07b8408c880bb4d8c3dbdb9.zip
hostap-e88f0901ebfeac3cd07b8408c880bb4d8c3dbdb9.tar.gz
hostap-e88f0901ebfeac3cd07b8408c880bb4d8c3dbdb9.tar.bz2
wlantest: Add BIP-GMAC-128/256 test vectors
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/wlantest.h')
-rw-r--r--wlantest/wlantest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index a8db20b..b04e9d0 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -243,6 +243,8 @@ u8 * wep_decrypt(struct wlantest *wt, const struct ieee80211_hdr *hdr,
u8 * bip_protect(const u8 *igtk, u8 *frame, size_t len, u8 *ipn, int keyid,
size_t *prot_len);
+u8 * bip_gmac_protect(const u8 *igtk, size_t igtk_len, u8 *frame, size_t len,
+ u8 *ipn, int keyid, size_t *prot_len);
u8 * gcmp_decrypt(const u8 *tk, size_t tk_len, const struct ieee80211_hdr *hdr,
const u8 *data, size_t data_len, size_t *decrypted_len);