Jouni Malinen
2950851ace
Rename the Frame Control field subfield Order define to +HTC
...
This moves the implementation closer to the current IEEE 802.11 standard
since B15 of Frame Control field was renamed to +HTC to match it newer
uses.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
3 years ago
Jouni Malinen
0df12cbddc
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>
8 years ago
Jouni Malinen
f2f66ad7e8
wlantest: Fix CCMP-256 cipher
...
TK was incorrectly truncated in a way that resulted in CCMP (128-bit
key) encryption being used in practice.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
11 years ago
Jouni Malinen
7d19d3e9db
wlantest: Add CCMP-256 test vector
...
Signed-hostap: Jouni Malinen <j@w1.fi>
12 years ago
Jouni Malinen
4bf3910574
Move AES-CCM implementation into src/crypto
...
This is a generic AES CCM implementation that can be used for other
purposes than just implementing CCMP, so it fits better in a separate
file in src/crypto.
Signed-hostap: Jouni Malinen <j@w1.fi>
12 years ago
Jouni Malinen
05d6054cec
wlantest: Move generic AES-CCM into separate functions
...
This part of the implementation is not specific to CCMP and could be
used for other purposes, too.
Signed-hostap: Jouni Malinen <j@w1.fi>
12 years ago
Jouni Malinen
0f3d578efc
Remove the GPL notification from files contributed by Jouni Malinen
...
Remove the GPL notification text from the files that were
initially contributed by myself.
Signed-hostap: Jouni Malinen <j@w1.fi>
12 years ago
Jouni Malinen
3558c41ee7
wlantest: Add more details for CCMP MIC failures
14 years ago
Jouni Malinen
ef44a08bea
wlantest: Fix masking of CCMP AAD QC field
14 years ago
Jouni Malinen
71a7e936e1
wlantest: Fix buffer read overflow on CCMP encryption
...
The encryption code may write a full AES block to the end of the
buffer, so make sure the temporary buffer is long enough to fit that
data.
14 years ago
Jouni Malinen
81d5989176
wlantest: Fix CCMP header generation to include reserved field
14 years ago
Jouni Malinen
571ab37b86
wlantest: Add support for CCMP protection for injected frames
14 years ago
Jouni Malinen
2edd5c23ad
wlantest: Add replay detection for CCMP
14 years ago
Jouni Malinen
d318c534da
wlantest: Add support for decrypting CCMP protected unicast Data frames
14 years ago