aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/tkip.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-11-19 14:09:19 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-19 14:09:19 (GMT)
commit571ab37b869424af693a9818b76872ca9847a997 (patch)
treee56a7628cac4c0cf784e8dc556b4728f9dd1791b /wlantest/tkip.c
parentf6b25ca5b424fc09bcd5db0fa0f81a90dada9d90 (diff)
downloadhostap-571ab37b869424af693a9818b76872ca9847a997.zip
hostap-571ab37b869424af693a9818b76872ca9847a997.tar.gz
hostap-571ab37b869424af693a9818b76872ca9847a997.tar.bz2
wlantest: Add support for CCMP protection for injected frames
Diffstat (limited to 'wlantest/tkip.c')
-rw-r--r--wlantest/tkip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wlantest/tkip.c b/wlantest/tkip.c
index 2f8d28d..3da64c5 100644
--- a/wlantest/tkip.c
+++ b/wlantest/tkip.c
@@ -403,3 +403,11 @@ void tkip_get_pn(u8 *pn, const u8 *data)
pn[4] = data[0]; /* PN1 */
pn[5] = data[2]; /* PN0 */
}
+
+
+u8 * tkip_encrypt(const u8 *tk, u8 *frame, size_t len, size_t hdrlen, u8 *qos,
+ u8 *pn, int keyid, size_t *encrypted_len)
+{
+ /* TODO */
+ return NULL;
+}