Home
last modified time | relevance | path

Searched refs:pk_ctx (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/library/
Dpk.c62 ctx->pk_ctx = NULL; in mbedtls_pk_init()
75 ctx->pk_info->ctx_free_func(ctx->pk_ctx); in mbedtls_pk_free()
143 if ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL) { in mbedtls_pk_setup()
161 mbedtls_svc_key_id_t *pk_ctx; in mbedtls_pk_setup_opaque() local
182 if ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL) { in mbedtls_pk_setup_opaque()
188 pk_ctx = (mbedtls_svc_key_id_t *) ctx->pk_ctx; in mbedtls_pk_setup_opaque()
189 *pk_ctx = key; in mbedtls_pk_setup_opaque()
211 if ((ctx->pk_ctx = info->ctx_alloc_func()) == NULL) { in mbedtls_pk_setup_rsa_alt()
217 rsa_alt = (mbedtls_rsa_alt_context *) ctx->pk_ctx; in mbedtls_pk_setup_rsa_alt()
318 const mbedtls_svc_key_id_t *key = (const mbedtls_svc_key_id_t *) ctx->pk_ctx; in mbedtls_pk_can_do_ext()
[all …]
Dpkwrite.c191 mbedtls_svc_key_id_t *key_id = (mbedtls_svc_key_id_t *) key->pk_ctx; in mbedtls_pk_write_pubkey()
257 key_id = *((mbedtls_svc_key_id_t *) key->pk_ctx); in mbedtls_pk_write_pubkey_der()
Dpk_wrap.c228 key.pk_ctx = ctx; in rsa_verify_wrap()
322 key.pk_ctx = rsa_ctx; in mbedtls_pk_psa_rsa_sign_ext()
430 key.pk_ctx = ctx; in rsa_decrypt_wrap()
516 key.pk_ctx = ctx; in rsa_encrypt_wrap()
Dpsa_crypto_rsa.c181 pk.pk_ctx = rsa; in mbedtls_psa_rsa_export_key()
Dssl_tls12_server.c2587 *((mbedtls_svc_key_id_t *) pk->pk_ctx); in ssl_get_ecdh_params_from_cert()
/third_party/mbedtls/include/mbedtls/
Dpk.h235 void *MBEDTLS_PRIVATE(pk_ctx); /**< Underlying public key context */
762 return (mbedtls_rsa_context *) (pk).MBEDTLS_PRIVATE(pk_ctx); in mbedtls_pk_rsa()
787 return (mbedtls_ecp_keypair *) (pk).MBEDTLS_PRIVATE(pk_ctx); in mbedtls_pk_ec()
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c598 mbedtls_svc_key_id_t *key_slot = cert->pkey->pk_ctx; in mbedtls_endpoint_certificate_free()
/third_party/mbedtls/tests/suites/
Dtest_suite_pk.function1230 (mbedtls_ecp_keypair *) pk.pk_ctx,