Home
last modified time | relevance | path

Searched refs:destruction_status (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/library/
Dpk_ecc.c124 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()
Dssl_tls12_client.c2758 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_write_client_key_exchange() local
2822 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() local
3005 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()
Dpk_wrap.c960 psa_status_t destruction_status; in eckey_check_pair_psa() local
995 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()
Dpk.c1158 psa_status_t destruction_status = PSA_ERROR_DATA_CORRUPT; in mbedtls_pk_verify_ext() local
1192 destruction_status = psa_destroy_key(key_id); in mbedtls_pk_verify_ext()
1199 status = destruction_status; in mbedtls_pk_verify_ext()
Dssl_tls12_server.c3918 psa_status_t destruction_status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_parse_client_key_exchange() local
3985 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()