• Home
  • Raw
  • Download

Lines Matching refs:pk_ctx

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() 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()
446 ret = ctx->pk_info->verify_rs_func(ctx->pk_ctx, in mbedtls_pk_verify_restartable()
463 return ctx->pk_info->verify_func(ctx->pk_ctx, md_alg, hash, hash_len, in mbedtls_pk_verify_restartable()
629 ret = ctx->pk_info->sign_rs_func(ctx->pk_ctx, md_alg, in mbedtls_pk_sign_restartable()
648 return ctx->pk_info->sign_func(ctx->pk_ctx, md_alg, in mbedtls_pk_sign_restartable()
704 const mbedtls_svc_key_id_t *key = (const mbedtls_svc_key_id_t *) ctx->pk_ctx; in mbedtls_pk_sign_ext()
714 ctx->pk_ctx, hash, hash_len, in mbedtls_pk_sign_ext()
739 return ctx->pk_info->decrypt_func(ctx->pk_ctx, input, ilen, in mbedtls_pk_decrypt()
759 return ctx->pk_info->encrypt_func(ctx->pk_ctx, input, ilen, in mbedtls_pk_encrypt()
794 return prv->pk_info->check_pair_func(pub->pk_ctx, prv->pk_ctx, f_rng, p_rng); in mbedtls_pk_check_pair()
808 return ctx->pk_info->get_bitlen(ctx->pk_ctx); in mbedtls_pk_get_bitlen()
824 ctx->pk_info->debug_func(ctx->pk_ctx, items); in mbedtls_pk_debug()