Crypto: Add test infrastructure
This patch introduces changes to run regression testing
for both secure and non-secure domains for the Crypto
service. It also provides a basic set of tests for AES
symmetric ciphers in CFB and CBC mode.
Change-Id: Ib3f54056cd2b21a327c55539dd130d100aa23e45
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
diff --git a/test/framework/secure_suites.c b/test/framework/secure_suites.c
index 89369cb..cb92f79 100644
--- a/test/framework/secure_suites.c
+++ b/test/framework/secure_suites.c
@@ -13,6 +13,8 @@
#include "test/suites/sst/secure/sst_tests.h"
#include "test/suites/audit/secure/audit_s_tests.h"
#include "test/suites/invert/secure/invert_s_tests.h"
+#include "test/suites/crypto/secure/crypto_s_tests.h"
+
#include "secure_fw/services/secure_storage/sst_object_system.h"
static struct test_suite_t test_suites[] = {
@@ -36,6 +38,9 @@
/* Secure Audit Logging test cases */
{®ister_testsuite_s_audit_interface, 0, 0, 0},
+ /* Crypto test cases */
+ {®ister_testsuite_s_crypto_interface, 0, 0, 0},
+
#ifdef TFM_PARTITION_TEST_CORE
/* Secure invert test cases */
/* Note: since this is sample code, only run if test services are enabled */