We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d0c4d commit 172fd65Copy full SHA for 172fd65
components/TARGET_PSA/TESTS/compliance_crypto/test_c043/test_c043.c
@@ -108,6 +108,10 @@ int32_t psa_key_agreement_test(security_t caller)
108
/* Abort a generator */
109
status = val->crypto_function(VAL_CRYPTO_GENERATOR_ABORT, &generator);
110
TEST_ASSERT_EQUAL(status, PSA_SUCCESS, TEST_CHECKPOINT_NUM(12));
111
+
112
+ /* Destroy a key and restore the slot to its default state */
113
+ status = val->crypto_function(VAL_CRYPTO_DESTROY_KEY, check1[i].key_handle);
114
+ TEST_ASSERT_EQUAL(status, PSA_SUCCESS, TEST_CHECKPOINT_NUM(13));
115
}
116
117
return VAL_STATUS_SUCCESS;
0 commit comments