Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dpk.c56 ctx->pk_ctx = NULL; in mbedtls_pk_init()
67 ctx->pk_info->ctx_free_func( ctx->pk_ctx ); in mbedtls_pk_free()
106 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup()
129 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_rsa_alt()
134 rsa_alt = (mbedtls_rsa_alt_context *) ctx->pk_ctx; in mbedtls_pk_setup_rsa_alt()
188 return( ctx->pk_info->verify_func( ctx->pk_ctx, md_alg, hash, hash_len, in mbedtls_pk_verify()
260 return( ctx->pk_info->sign_func( ctx->pk_ctx, md_alg, hash, hash_len, in mbedtls_pk_sign()
278 return( ctx->pk_info->decrypt_func( ctx->pk_ctx, input, ilen, in mbedtls_pk_decrypt()
296 return( ctx->pk_info->encrypt_func( ctx->pk_ctx, input, ilen, in mbedtls_pk_encrypt()
323 return( prv->pk_info->check_pair_func( pub->pk_ctx, prv->pk_ctx ) ); in mbedtls_pk_check_pair()
[all …]
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dpk.h129 void * pk_ctx; /**< Underlying public key context */ member
141 return( (mbedtls_rsa_context *) (pk).pk_ctx ); in mbedtls_pk_rsa()
154 return( (mbedtls_ecp_keypair *) (pk).pk_ctx ); in mbedtls_pk_ec()