Home
last modified time | relevance | path

Searched refs:has_private (Results 1 – 4 of 4) sorted by relevance

/mbedtls-latest/programs/pkey/
Dkey_app.c57 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
76 (has_private ? &D : NULL), in show_ecp_key()
108 if (has_private) { in show_ecp_key()
Dgen_key.c161 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
180 (has_private ? &D : NULL), in show_ecp_key()
212 if (has_private) { in show_ecp_key()
Dkey_app_writer.c177 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument
196 (has_private ? &D : NULL), in show_ecp_key()
228 if (has_private) { in show_ecp_key()
/mbedtls-latest/library/
Dpk.c442 int has_private = (mbedtls_rsa_check_privkey(rsa) == 0); in mbedtls_pk_get_psa_attributes() local
443 if (want_private && !has_private) { in mbedtls_pk_get_psa_attributes()
466 int has_private = 0; in mbedtls_pk_get_psa_attributes() local
468 has_private = 1; in mbedtls_pk_get_psa_attributes()
472 int has_private = (ec->d.n != 0); in mbedtls_pk_get_psa_attributes() local
501 if (want_private && !has_private) { in mbedtls_pk_get_psa_attributes()