Test: Add Crypto test for key access control

Adds a test for access control for keys in the Crypto service based on
partition ID. Uses the Secure Client 2 test partition to attempt to
destroy a key belonging to another partition.

Change-Id: I2f3dfd2dfca0a9f7e9391836b190862b1df5dc18
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/secure_fw/spm/tfm_spm_db.inc b/secure_fw/spm/tfm_spm_db.inc
index 2fbdd90..ce05fd6 100644
--- a/secure_fw/spm/tfm_spm_db.inc
+++ b/secure_fw/spm/tfm_spm_db.inc
@@ -591,6 +591,7 @@
 static int32_t dependencies_TFM_SP_SECURE_CLIENT_2[] =
 {
     TFM_ITS_GET_SID,
+    TFM_CRYPTO_SID,
 };
 #endif /* TFM_PARTITION_TEST_SECURE_SERVICES */
 
@@ -843,7 +844,7 @@
                               ,
         .partition_priority   = TFM_PRIORITY(NORMAL),
         .partition_init       = tfm_secure_client_2_init,
-        .dependencies_num     = 1,
+        .dependencies_num     = 2,
         .p_dependencies       = dependencies_TFM_SP_SECURE_CLIENT_2,
     },
 #endif /* TFM_PARTITION_TEST_SECURE_SERVICES */