aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-04-26 13:51:09 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-23 14:49:33 (GMT)
commit0df12cbddca7ee8ac12c6b20ca2f522fb5239058 (patch)
tree34f412faded141fadff3d457eeb986647c482664 /wlantest/wlantest.h
parent7137c7daee7c2ca398190f951297622b7e8d149d (diff)
downloadhostap-0df12cbddca7ee8ac12c6b20ca2f522fb5239058.zip
hostap-0df12cbddca7ee8ac12c6b20ca2f522fb5239058.tar.gz
hostap-0df12cbddca7ee8ac12c6b20ca2f522fb5239058.tar.bz2
IEEE P802.11ah/D10.0 PV1 CCMP test vectors
Extend wlantest test_vectors to calculate test vectors for P802.11ah Annex J.6.4. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/wlantest.h')
-rw-r--r--wlantest/wlantest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index 530accc..1ff579f 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -274,6 +274,10 @@ u8 * ccmp_decrypt(const u8 *tk, const struct ieee80211_hdr *hdr,
const u8 *data, size_t data_len, size_t *decrypted_len);
u8 * ccmp_encrypt(const u8 *tk, u8 *frame, size_t len, size_t hdrlen, u8 *qos,
u8 *pn, int keyid, size_t *encrypted_len);
+u8 * ccmp_encrypt_pv1(const u8 *tk, const u8 *a1, const u8 *a2, const u8 *a3,
+ const u8 *frame, size_t len,
+ size_t hdrlen, const u8 *pn, int keyid,
+ size_t *encrypted_len);
void ccmp_get_pn(u8 *pn, const u8 *data);
u8 * ccmp_256_decrypt(const u8 *tk, const struct ieee80211_hdr *hdr,
const u8 *data, size_t data_len, size_t *decrypted_len);