Home
last modified time | relevance | path

Searched refs:psa_destroy_key (Results 1 - 25 of 26) sorted by relevance

12

/third_party/mbedtls/programs/psa/
H A Dkey_ladder_demo.c202 (void) psa_destroy_key(key); in generate()
248 * *master_key is null. psa_destroy_key( 0 ) is in import_key_from_file()
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()
H A Dcrypto_examples.c202 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
250 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
297 psa_destroy_key(key); in cipher_example_encrypt_decrypt_aes_ctr_multi()
H A Dhmac_demo.c148 psa_destroy_key(key); in hmac_demo()
H A Daead_demo.c262 psa_destroy_key(key); in aead_demo()
/third_party/mbedtls/tests/include/spe/
H A Dcrypto_spe.h70 #define psa_destroy_key \ macro
71 PSA_FUNCTION_NAME(psa_destroy_key)
/third_party/mbedtls/library/
H A 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()
H A 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()
H A 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()
H A 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()
3785 MBEDTLS_SSL_DEBUG_RET(1, "psa_destroy_key", ret); 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(handshak in ssl_parse_client_key_exchange()
[all...]
H A Dblock_cipher.c56 psa_destroy_key(ctx->psa_key_id); in mbedtls_block_cipher_free()
H A 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()
H A Dssl_cookie.c88 psa_destroy_key(ctx->psa_hmac_key); in mbedtls_ssl_cookie_free()
H A Dpk.c77 psa_destroy_key(ctx->priv_id); in mbedtls_pk_free()
1179 psa_destroy_key(key_id); in mbedtls_pk_verify_ext()
1192 destruction_status = psa_destroy_key(key_id); in mbedtls_pk_verify_ext()
H A Dssl_tls13_keys.c762 status = psa_destroy_key(key); in ssl_tls13_calc_finished_core()
1516 status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_tls13_key_schedule_stage_handshake()
1519 MBEDTLS_SSL_DEBUG_RET(1, "psa_destroy_key", ret); in ssl_tls13_key_schedule_stage_handshake()
H A Dssl_tls.c2050 psa_destroy_key(ssl->handshake->psa_pake_password); in mbedtls_ssl_set_hs_ecjpake_password()
2227 psa_destroy_key(ssl->handshake->psk_opaque); in ssl_remove_psk()
2289 /* Allow calling psa_destroy_key() on psk remove */ in mbedtls_ssl_set_hs_psk()
4820 psa_destroy_key(handshake->psa_pake_password); in mbedtls_ssl_handshake_free()
4846 psa_destroy_key(ssl->handshake->psk_opaque); in mbedtls_ssl_handshake_free()
4893 psa_destroy_key(handshake->xxdh_psa_privkey); in mbedtls_ssl_handshake_free()
6793 psa_destroy_key(master_key); in tls_prf_generic()
6800 psa_destroy_key(master_key); in tls_prf_generic()
6806 psa_destroy_key(master_key); in tls_prf_generic()
6811 status = psa_destroy_key(master_ke in tls_prf_generic()
[all...]
H A Dssl_msg.c6210 psa_destroy_key(transform->psa_key_enc); in mbedtls_ssl_transform_free()
6211 psa_destroy_key(transform->psa_key_dec); in mbedtls_ssl_transform_free()
6219 psa_destroy_key(transform->psa_mac_enc); in mbedtls_ssl_transform_free()
6220 psa_destroy_key(transform->psa_mac_dec); in mbedtls_ssl_transform_free()
H A Dctr_drbg.c63 psa_destroy_key(psa_ctx->key_id); in ctr_drbg_destroy_psa_contex()
H A Dcipher.c220 (void) psa_destroy_key(cipher_psa->slot); in mbedtls_cipher_free()
H A Dssl_tls13_client.c190 status = psa_destroy_key(ssl->handshake->xxdh_psa_privkey); in ssl_tls13_reset_key_share()
193 MBEDTLS_SSL_DEBUG_RET(1, "psa_destroy_key", ret); in ssl_tls13_reset_key_share()
/third_party/mbedtls/programs/ssl/
H A Dssl_server2.c967 status = psa_destroy_key(slot); in psk_free()
4240 psa_destroy_key(key_slot); in main()
4241 psa_destroy_key(key_slot2); in main()
4266 status = psa_destroy_key(psk_slot); in main()
4294 psa_destroy_key(ecjpake_pw_slot); in main()
H A Dssl_client2.c3136 psa_destroy_key(key_slot); in main()
3147 status = psa_destroy_key(slot); in main()
3178 psa_destroy_key(ecjpake_pw_slot); in main()
/third_party/mbedtls/include/psa/
H A Dcrypto.h567 psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key);
/third_party/mbedtls/tests/include/test/
H A Dpsa_test_wrappers.h319 #define psa_destroy_key(arg0_key) \ macro
/third_party/mbedtls/tests/src/
H A Dpsa_test_wrappers.c543 /* Wrapper for psa_destroy_key */
547 psa_status_t status = (psa_destroy_key)(arg0_key); in mbedtls_test_wrap_psa_destroy_key()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c581 psa_destroy_key(cert->pkey->priv_id); in test_ssl_endpoint_certificate_free()

Completed in 60 milliseconds

12