Searched refs:destruction_status (Results 1 – 3 of 3) sorted by relevance
528 psa_status_t destruction_status = PSA_ERROR_DATA_CORRUPT; in mbedtls_pk_verify_ext() local562 destruction_status = psa_destroy_key(key_id); in mbedtls_pk_verify_ext()569 status = destruction_status; in mbedtls_pk_verify_ext()
2755 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local2819 destruction_status = psa_destroy_key(handshake->ecdh_psa_privkey); in ssl_write_client_key_exchange()2822 if (status != PSA_SUCCESS || destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()2895 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local3002 destruction_status = psa_destroy_key(handshake->ecdh_psa_privkey); in ssl_write_client_key_exchange()3007 } else if (destruction_status != PSA_SUCCESS) { in ssl_write_client_key_exchange()3008 return PSA_TO_MBEDTLS_ERR(destruction_status); in ssl_write_client_key_exchange()
3847 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_parse_client_key_exchange() local3905 destruction_status = psa_destroy_key(handshake->ecdh_psa_privkey); in ssl_parse_client_key_exchange()3910 } else if (destruction_status != PSA_SUCCESS) { in ssl_parse_client_key_exchange()3911 return PSA_TO_MBEDTLS_ERR(destruction_status); in ssl_parse_client_key_exchange()