mirror of https://github.com/ARMmbed/mbed-os.git
Fix acl test asymmetric encrypt decrypt
parent
31d202b3f6
commit
b8bdaf9e9f
|
|
@ -434,7 +434,8 @@ void test_use_other_partition_key_asymmetric_encrypt_decrypt(void)
|
|||
NULL, 0, encrypted, sizeof(encrypted), &len));
|
||||
|
||||
/* try to asymmetric decrypt using the key that was created by the test partition */
|
||||
TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_decrypt(key_handle, key_alg, encrypted, len, NULL, 0,
|
||||
TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_decrypt(key_handle, key_alg,
|
||||
encrypted, sizeof(encrypted), NULL, 0,
|
||||
decrypted, sizeof(decrypted), &len));
|
||||
|
||||
/* via test partition - close the key created by the test partition */
|
||||
|
|
|
|||
Loading…
Reference in New Issue