Searched refs:pk_ctx (Results 1 – 8 of 8) sorted by relevance
62 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() local182 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 …]
191 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()
228 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()
181 pk.pk_ctx = rsa; in mbedtls_psa_rsa_export_key()
2587 *((mbedtls_svc_key_id_t *) pk->pk_ctx); in ssl_get_ecdh_params_from_cert()
235 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()
598 mbedtls_svc_key_id_t *key_slot = cert->pkey->pk_ctx; in mbedtls_endpoint_certificate_free()
1230 (mbedtls_ecp_keypair *) pk.pk_ctx,