Jouni Malinen
6f5b284b32
tests: Module test for hmac_sha256_kdf() maximum output length
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-10 18:57:14 +03:00
Jouni Malinen
87c59a1e5a
tests: Allow AES-WRAP-192 test cases to be commented out with BoringSSL
...
BoringSSL does not support 192-bit AES, so these parts of the
wpa_supplicant module tests would fail.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-08-18 20:21:44 +03:00
Jouni Malinen
cd94f0d159
tests: Skip ms_funcs module tests in CONFIG_FIPS=y builds
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-08-02 16:52:56 +03:00
Jouni Malinen
97e986cd74
tests: Skip MD5 module tests in CONFIG_FIPS=y builds
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-08-01 16:57:04 +03:00
Jouni Malinen
5bbc1c2581
tests: Comment out TLS PRF test from CONFIG_FIPS=y build
...
This fixes CONFIG_FIPS=y build that may not include tls_prf_sha1_md5().
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-08-01 15:51:44 +03:00
Mikael Kanstrup
8b423edbd3
Declare all read only data structures as const
...
By analysing objdump output some read only structures were found in
.data section. To help compiler further optimize code declare these
as const.
Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
2015-04-25 17:33:06 +03:00
Jouni Malinen
1068bdb90c
tests: Fix crypto module test build without EAP-FAST
...
Skip the EAP-FAST specific test cases if wpa_supplicant build is
configured not to include EAP-FAST support.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-12 00:19:21 +02:00
Jouni Malinen
59be78ef93
tests: Move SHA256 test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 17:34:20 +02:00
Jouni Malinen
4b462a0226
tests: Move SHA1 test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 17:29:00 +02:00
Jouni Malinen
896e1b836f
tests: Move MD5 test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 17:12:27 +02:00
Jouni Malinen
88fc0dca98
tests: Move ms_funcs test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 17:05:42 +02:00
Jouni Malinen
5c0ff9f9a3
tests: Add some of the AES ECB mode test cases from CAVS 11.1
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:57:57 +02:00
Jouni Malinen
1244408401
tests: Move AES key wrap/unwrap test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:35:59 +02:00
Jouni Malinen
477f83131f
tests: Move AES-CBC test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:28:46 +02:00
Jouni Malinen
e438fb0d3a
tests: Move AES-128 EAX mode test cases into hwsim framework
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:24:42 +02:00
Jouni Malinen
6c33962dd1
tests: Additional OMAC1-AES module test coverage
...
This verifies couple of corner cases with short vector entries in the
OMAC1-AES implementation.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:15:23 +02:00
Jouni Malinen
304d40e904
tests: Move OMAC1-AES test cases into hwsim module tests
...
This makes sure the test cases are executed automatically with rest of
the hwsim tests.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 16:02:08 +02:00
Jouni Malinen
942b75468d
tests: Add module tests for AES-SIV
...
This moves the AES-SIV test case from tests/test-aes.c to be part of
wpa_supplicant module testing framework with a new
src/crypto/crypto_module_tests.c component. In addition, the second test
vector from RFC 5297 is also included for additional coverage.
Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-05 15:50:53 +02:00