Skip to content

Commit b8bdaf9

Browse files
author
itayzafrir
committed
Fix acl test asymmetric encrypt decrypt
1 parent 31d202b commit b8bdaf9

File tree

1 file changed

+2
-1
lines changed
  • TESTS/psa/crypto_access_control/COMPONENT_NSPE

1 file changed

+2
-1
lines changed

TESTS/psa/crypto_access_control/COMPONENT_NSPE/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ void test_use_other_partition_key_asymmetric_encrypt_decrypt(void)
434434
NULL, 0, encrypted, sizeof(encrypted), &len));
435435

436436
/* try to asymmetric decrypt using the key that was created by the test partition */
437-
TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_decrypt(key_handle, key_alg, encrypted, len, NULL, 0,
437+
TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_decrypt(key_handle, key_alg,
438+
encrypted, sizeof(encrypted), NULL, 0,
438439
decrypted, sizeof(decrypted), &len));
439440

440441
/* via test partition - close the key created by the test partition */

0 commit comments

Comments
 (0)