Home
last modified time | relevance | path

Searched refs:psa_destroy_key (Results 1 – 25 of 52) sorted by relevance

123

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_not_supported.function30 psa_destroy_key(key_id);
49 psa_destroy_key(key_id);
Dtest_suite_psa_crypto_entropy.function84 PSA_ASSERT(psa_destroy_key(key));
93 psa_destroy_key(key);
127 PSA_ASSERT(psa_destroy_key(key));
139 PSA_ASSERT(psa_destroy_key(key));
142 psa_destroy_key(key);
Dtest_suite_psa_crypto_persistent_key.function139 PSA_ASSERT(psa_destroy_key(key_id));
177 PSA_ASSERT(psa_destroy_key(key_id));
192 PSA_ASSERT(psa_destroy_key(key_id));
241 PSA_ASSERT(psa_destroy_key(key_id));
311 PSA_ASSERT(psa_destroy_key(key_id));
335 TEST_EQUAL(expected_status, psa_destroy_key(id));
Dtest_suite_psa_crypto_op_fail.function111 psa_destroy_key(key_id);
157 psa_destroy_key(key_id);
205 psa_destroy_key(key_id);
280 psa_destroy_key(key_id);
327 psa_destroy_key(key_id);
404 psa_destroy_key(key_id);
Dtest_suite_psa_crypto.function202 psa_destroy_key(key);
206 psa_destroy_key(key);
235 psa_destroy_key(key);
239 psa_destroy_key(key);
587 psa_destroy_key(key);
696 psa_destroy_key(key);
1441 psa_status_t status = psa_destroy_key(skc->key);
1490 PSA_ASSERT(psa_destroy_key(key));
1502 psa_destroy_key(key);
1507 PSA_ASSERT(psa_destroy_key(key));
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function378 PSA_ASSERT(psa_destroy_key(id));
429 PSA_ASSERT(psa_destroy_key(id));
493 PSA_ASSERT(psa_destroy_key(id));
544 PSA_ASSERT(psa_destroy_key(id));
605 PSA_ASSERT(psa_destroy_key(id));
664 PSA_ASSERT(psa_destroy_key(id));
Dtest_suite_psa_crypto_slot_management.function57 PSA_ASSERT(psa_destroy_key(key));
542 PSA_ASSERT(psa_destroy_key(returned_source_id));
590 PSA_ASSERT(psa_destroy_key(returned_target_id));
698 PSA_ASSERT(psa_destroy_key(returned_source_id));
700 PSA_ASSERT(psa_destroy_key(returned_target_id));
763 PSA_ASSERT(psa_destroy_key(invalid_handle));
777 TEST_EQUAL(psa_destroy_key(invalid_handle), close_status);
914 PSA_ASSERT(psa_destroy_key(key));
989 PSA_ASSERT(psa_destroy_key(keys[available_key_slots - 1]));
1018 PSA_ASSERT(psa_destroy_key(keys[i]));
[all …]
Dtest_suite_pk.function247 status = psa_destroy_key(pk->priv_id);
497 PSA_ASSERT(psa_destroy_key(pk->priv_id));
583 psa_destroy_key(orig_key_id);
752 TEST_ASSERT(PSA_SUCCESS == psa_destroy_key(key));
808 PSA_ASSERT(psa_destroy_key(key));
1075 psa_destroy_key(opaque_key_id);
1642 TEST_EQUAL(PSA_SUCCESS, psa_destroy_key(key_id));
1954 TEST_ASSERT(PSA_SUCCESS == psa_destroy_key(key_id));
2105 TEST_EQUAL(PSA_SUCCESS, psa_destroy_key(key_id));
2185 psa_destroy_key(new_key_id);
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function556 psa_destroy_key(key);
613 psa_destroy_key(key);
685 psa_destroy_key(key);
744 psa_destroy_key(key);
812 psa_destroy_key(key);
858 psa_destroy_key(key);
936 psa_destroy_key(handle);
1019 psa_destroy_key(our_key);
1106 psa_destroy_key(key);
1235 psa_destroy_key(key);
[all …]
Dtest_suite_psa_crypto_generate_key.function45 psa_destroy_key(key_id);
Dtest_suite_psa_crypto_se_driver_hal.function389 psa_destroy_key(key);
474 psa_destroy_key(key);
508 psa_destroy_key(key);
682 PSA_ASSERT(psa_destroy_key(key2));
971 PSA_ASSERT(psa_destroy_key(returned_id));
1062 PSA_ASSERT(psa_destroy_key(id));
1147 PSA_ASSERT(psa_destroy_key(id));
1264 PSA_ASSERT(psa_destroy_key(id));
1440 psa_destroy_key(id);
1441 psa_destroy_key(sw_key);
[all …]
Dtest_suite_psa_crypto_storage_format.function197 TEST_EQUAL(PSA_ERROR_NOT_PERMITTED, psa_destroy_key(key_id));
200 PSA_ASSERT(psa_destroy_key(key_id));
261 psa_destroy_key(key_id);
Dtest_suite_pkwrite.function139 psa_destroy_key(opaque_id);
218 psa_destroy_key(opaque_key_id);
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c202 (void) psa_destroy_key(key); in generate()
250 (void) psa_destroy_key(*master_key); in import_key_from_file()
292 PSA_CHECK(psa_destroy_key(*key)); in derive_key_ladder()
303 psa_destroy_key(*key); in derive_key_ladder()
579 (void) psa_destroy_key(derivation_key); in run()
580 (void) psa_destroy_key(wrapping_key); in run()
Dcrypto_examples.c190 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
238 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
285 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_ctr_multi()
Dhmac_demo.c136 psa_destroy_key(key); in hmac_demo()
Daead_demo.c250 psa_destroy_key(key); in aead_demo()
/openthread-latest/third_party/mbedtls/repo/tests/include/spe/
Dcrypto_spe.h58 #define psa_destroy_key \ macro
59 PSA_FUNCTION_NAME(psa_destroy_key)
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_ticket.c140 if ((status = psa_destroy_key(ctx->keys[ctx->active].key)) != PSA_SUCCESS) { in ssl_ticket_update_keys()
176 if ((status = psa_destroy_key(key->key)) != PSA_SUCCESS) { in mbedtls_ssl_ticket_rotate()
538 psa_destroy_key(ctx->keys[0].key); in mbedtls_ssl_ticket_free()
539 psa_destroy_key(ctx->keys[1].key); in mbedtls_ssl_ticket_free()
Dpk_ecc.c124 psa_status_t destruction_status = psa_destroy_key(key_id); in mbedtls_pk_ecc_set_pubkey_from_prv()
236 (psa_destroy_key(key_id) != PSA_SUCCESS)) { in mbedtls_pk_ecc_set_pubkey()
Dpk_wrap.c122 status = psa_destroy_key(key_id); in rsa_verify_wrap()
221 status = psa_destroy_key(key_id); in mbedtls_pk_psa_rsa_sign_ext()
337 status = psa_destroy_key(key_id); in rsa_decrypt_wrap()
419 status = psa_destroy_key(key_id); in rsa_encrypt_wrap()
594 status = psa_destroy_key(key_id); in ecdsa_verify_psa()
800 status = psa_destroy_key(key_id); in ecdsa_sign_wrap()
995 destruction_status = psa_destroy_key(key_id); in eckey_check_pair_psa()
Dblock_cipher.c56 psa_destroy_key(ctx->psa_key_id); in mbedtls_block_cipher_free()
Dssl_tls12_server.c310 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_parse_ecjpake_kkpp()
1955 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_write_ecjpake_kkpp_ext()
2857 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_prepare_server_key_exchange()
3061 (void) psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_prepare_server_key_exchange()
3774 (void) psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
3781 status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
3925 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
3932 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
3939 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
3950 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()
[all …]
Dssl_tls12_client.c172 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_write_ecjpake_kkpp_ext()
881 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_parse_ecjpake_kkpp()
2262 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_parse_server_key_exchange()
2803 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()
2822 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()
2975 psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()
3005 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()
3164 psa_destroy_key(ssl->handshake->psa_pake_password); in ssl_write_client_key_exchange()
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md59 > * A call to `psa_destroy_key()` must not overlap with a concurrent call to any of the following f…
90 Much like all other API calls, `psa_destroy_key` does not block indefinitely, and when `psa_destroy…
95 When `psa_destroy_key` is called on a key that is in use, guarantee 2 may be violated. This is cons…
225 … again). The copy of the key will not be destroyed during a call to `psa_destroy_key`, the thread …
229 …n `library/psa_crypto.c`. The destroying thread (the thread calling `psa_destroy_key`) does not al…
244 * `psa_destroy_key` - The linearization point for a successful destruction is the mutex unlock, the…
302 … be recovered. In the long term, it would be good to guarantee that `psa_destroy_key` wipes all co…
306 `psa_destroy_key` does not block indefinitely, and when `psa_destroy_key` returns:
318 …* When a thread calls `psa_destroy_key`, they continue as normal until the `psa_unregister_read` c…

123