Test: Update SST rollback protection test suite
This patch updates the rollback protection test suite to use the
PSA PS APIs to interact with the SST service.
Change-Id: Ie981ec17a35c487f7276b19b85c19f219725a8b1
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/test/framework/secure_suites.c b/test/framework/secure_suites.c
index 3d57e1a..7006d44 100644
--- a/test/framework/secure_suites.c
+++ b/test/framework/secure_suites.c
@@ -32,13 +32,15 @@
#ifdef PSA_PROTECTED_STORAGE
{®ister_testsuite_s_psa_ps_interface, 0, 0, 0},
{®ister_testsuite_s_psa_ps_reliability, 0, 0, 0},
-#else /* PSA_PROTECTED_STORAGE */
- /* Secure SST test cases */
- {®ister_testsuite_s_sst_sec_interface, 0, 0, 0},
#if defined(SST_ROLLBACK_PROTECTION) && defined(SST_ENCRYPTION)
{®ister_testsuite_s_rollback_protection, 0, 0, 0},
#endif
+
+#else /* PSA_PROTECTED_STORAGE */
+ /* Secure SST test cases */
+ {®ister_testsuite_s_sst_sec_interface, 0, 0, 0},
+
#endif /* PSA_PROTECTED_STORAGE */
/* Secure Audit Logging test cases */