Searched refs:destruction_status (Results 1 – 5 of 5) sorted by relevance
124 psa_status_t destruction_status = psa_destroy_key(key_id); in mbedtls_pk_ecc_set_pubkey_from_prv()127 } else if (destruction_status != PSA_SUCCESS) { in mbedtls_pk_ecc_set_pubkey_from_prv()128 return psa_pk_status_to_mbedtls(destruction_status); in mbedtls_pk_ecc_set_pubkey_from_prv()
2758 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local2822 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()2825 if (status != PSA_SUCCESS || destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()2898 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local3005 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()3010 } else if (destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()3011 return PSA_TO_MBEDTLS_ERR(destruction_status); in ssl_write_client_key_exchange()
960 psa_status_t destruction_status; in eckey_check_pair_psa() local995 destruction_status = psa_destroy_key(key_id); in eckey_check_pair_psa()998 } else if (destruction_status != PSA_SUCCESS) { in eckey_check_pair_psa()999 return PSA_PK_TO_MBEDTLS_ERR(destruction_status); in eckey_check_pair_psa()
1158 psa_status_t destruction_status = PSA_ERROR_DATA_CORRUPT; in mbedtls_pk_verify_ext() local1192 destruction_status = psa_destroy_key(key_id); in mbedtls_pk_verify_ext()1199 status = destruction_status; in mbedtls_pk_verify_ext()
3918 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_parse_client_key_exchange() local3985 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()3990 } else if (destruction_status != PSA_SUCCESS) { in ssl_parse_client_key_exchange()3991 return PSA_TO_MBEDTLS_ERR(destruction_status); in ssl_parse_client_key_exchange()