Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A 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
178 pk_ctx = (psa_key_id_t *) ctx->pk_ctx; in mbedtls_pk_setup_opaque()
179 *pk_ctx = key; in mbedtls_pk_setup_opaque()
206 rsa_alt = (mbedtls_rsa_alt_context *) ctx->pk_ctx; in mbedtls_pk_setup_rsa_alt()
304 ret = ctx->pk_info->verify_rs_func( ctx->pk_ctx, in mbedtls_pk_verify_restartable()
532 return( prv->pk_info->check_pair_func( pub->pk_ctx, prv->pk_ctx ) ); in mbedtls_pk_check_pair()
545 return( ctx->pk_info->get_bitlen( ctx->pk_ctx ) ); in mbedtls_pk_get_bitlen()
[all …]
A 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()
A Dpk_wrap.c567 key.pk_ctx = ctx; in ecdsa_verify_wrap()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpk.h203 void * pk_ctx; /**< Underlying public key context */ member
649 return( (mbedtls_rsa_context *) (pk).pk_ctx ); in mbedtls_pk_rsa()
675 return( (mbedtls_ecp_keypair *) (pk).pk_ctx ); in mbedtls_pk_ec()

Completed in 10 milliseconds