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()
2760 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local2824 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()2827 if (status != PSA_SUCCESS || destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()2900 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local3007 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_write_client_key_exchange()3012 } else if (destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()3013 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()
1154 psa_status_t destruction_status = PSA_ERROR_DATA_CORRUPT; in mbedtls_pk_verify_ext() local1188 destruction_status = psa_destroy_key(key_id); in mbedtls_pk_verify_ext()1195 status = destruction_status; in mbedtls_pk_verify_ext()
3925 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_parse_client_key_exchange() local3992 destruction_status = psa_destroy_key(handshake->xxdh_psa_privkey); in ssl_parse_client_key_exchange()3997 } else if (destruction_status != PSA_SUCCESS) { in ssl_parse_client_key_exchange()3998 return PSA_TO_MBEDTLS_ERR(destruction_status); in ssl_parse_client_key_exchange()