Crypto: Remove workaround for CFB tests in CC-312 enabled platforms
The workaround based on compiler defines to disable CFB on CC-312
enabled platforms is not required anymore as now the tests are
completely controlled through cmake configuration options available
in the platforms port on TF-M.
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I1ff29d8585f845a6dbbcd6edb2e97a11fd4a1c08
diff --git a/test/secure_fw/suites/crypto/crypto_tests_common.c b/test/secure_fw/suites/crypto/crypto_tests_common.c
index 4e2c2bc..897362a 100644
--- a/test/secure_fw/suites/crypto/crypto_tests_common.c
+++ b/test/secure_fw/suites/crypto/crypto_tests_common.c
@@ -426,19 +426,6 @@
ret->val = TEST_PASSED;
- /* FIXME: Special override for the CC312 accelerator. Implemented because
- * there is not yet a generic way to override tests.
- */
-#ifdef CRYPTO_HW_ACCELERATOR_CC312
- if (alg == PSA_ALG_CFB) {
- printf_set_color(MAGENTA);
- TEST_LOG("%s %s", "The CC312 does not support CFB mode.",
- "The test execution was SKIPPED.\r\n");
- printf_set_color(DEFAULT);
- return;
- }
-#endif /* CRYPTO_HW_ACCELERATOR_CC312 */
-
/* Setup the key policy */
psa_set_key_usage_flags(&key_attributes, usage);
psa_set_key_algorithm(&key_attributes, alg);