Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dpk.c60 ctx->pk_ctx = NULL; in mbedtls_pk_init()
72 ctx->pk_info->ctx_free_func( ctx->pk_ctx ); in mbedtls_pk_free()
141 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup()
158 psa_key_id_t *pk_ctx; in mbedtls_pk_setup_opaque() local
173 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_opaque()
178 pk_ctx = (psa_key_id_t *) ctx->pk_ctx; in mbedtls_pk_setup_opaque()
179 *pk_ctx = key; in mbedtls_pk_setup_opaque()
201 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_rsa_alt()
206 rsa_alt = (mbedtls_rsa_alt_context *) ctx->pk_ctx; in mbedtls_pk_setup_rsa_alt()
301 ret = ctx->pk_info->verify_rs_func( ctx->pk_ctx, in mbedtls_pk_verify_restartable()
[all …]
Dpkwrite.c201 psa_key_id_t* key_id = (psa_key_id_t*) key->pk_ctx; in mbedtls_pk_write_pubkey()
272 key_id = *((psa_key_id_t*) key->pk_ctx ); in mbedtls_pk_write_pubkey_der()
Dpsa_crypto_rsa.c182 pk.pk_ctx = rsa; in mbedtls_psa_rsa_export_key()
Dpk_wrap.c584 key.pk_ctx = ctx; in ecdsa_verify_wrap()
/third_party/mbedtls/include/mbedtls/
Dpk.h202 void * MBEDTLS_PRIVATE(pk_ctx); /**< Underlying public key context */
228 return( (mbedtls_rsa_context *) (pk).MBEDTLS_PRIVATE(pk_ctx) ); in mbedtls_pk_rsa()
241 return( (mbedtls_ecp_keypair *) (pk).MBEDTLS_PRIVATE(pk_ctx) ); in mbedtls_pk_ec()
/third_party/mbedtls/tests/suites/
Dtest_suite_pk.function981 (mbedtls_ecp_keypair*) pk.pk_ctx,