aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_module_tests.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-05 13:48:17 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-05 13:50:53 (GMT)
commit942b75468db873d1194d6ceecb2cf5015eadb29f (patch)
tree4125768c3510091b63e25140930425d61350cfa3 /wpa_supplicant/wpas_module_tests.c
parentf6ebbcf62a7801a029e0b94c8e436b36720d27bd (diff)
downloadhostap-942b75468db873d1194d6ceecb2cf5015eadb29f.zip
hostap-942b75468db873d1194d6ceecb2cf5015eadb29f.tar.gz
hostap-942b75468db873d1194d6ceecb2cf5015eadb29f.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/wpas_module_tests.c')
-rw-r--r--wpa_supplicant/wpas_module_tests.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/wpas_module_tests.c b/wpa_supplicant/wpas_module_tests.c
index e4c83b5..6af1678 100644
--- a/wpa_supplicant/wpas_module_tests.c
+++ b/wpa_supplicant/wpas_module_tests.c
@@ -98,5 +98,11 @@ int wpas_module_tests(void)
ret = -1;
}
+ {
+ int crypto_module_tests(void);
+ if (crypto_module_tests() < 0)
+ ret = -1;
+ }
+
return ret;
}