Home
last modified time | relevance | path

Searched refs:ossl_provider_ctx (Results 1 – 20 of 20) sorted by relevance

/third_party/openssl/crypto/evp/
Dkdf_meth.c182 return kdf->gettable_params(ossl_provider_ctx(EVP_KDF_get0_provider(kdf))); in EVP_KDF_gettable_params()
191 alg = ossl_provider_ctx(EVP_KDF_get0_provider(kdf)); in EVP_KDF_gettable_ctx_params()
201 alg = ossl_provider_ctx(EVP_KDF_get0_provider(kdf)); in EVP_KDF_settable_ctx_params()
211 alg = ossl_provider_ctx(EVP_KDF_get0_provider(ctx->meth)); in EVP_KDF_CTX_gettable_params()
221 alg = ossl_provider_ctx(EVP_KDF_get0_provider(ctx->meth)); in EVP_KDF_CTX_settable_params()
Dmac_meth.c196 return mac->gettable_params(ossl_provider_ctx(EVP_MAC_get0_provider(mac))); in EVP_MAC_gettable_params()
205 alg = ossl_provider_ctx(EVP_MAC_get0_provider(mac)); in EVP_MAC_gettable_ctx_params()
215 alg = ossl_provider_ctx(EVP_MAC_get0_provider(mac)); in EVP_MAC_settable_ctx_params()
225 alg = ossl_provider_ctx(EVP_MAC_get0_provider(ctx->meth)); in EVP_MAC_CTX_gettable_params()
235 alg = ossl_provider_ctx(EVP_MAC_get0_provider(ctx->meth)); in EVP_MAC_CTX_settable_params()
Dkeymgmt_meth.c312 void *provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(keymgmt)); in evp_keymgmt_newdata()
333 void *provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(keymgmt)); in evp_keymgmt_gen_init()
364 void *provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(keymgmt)); in EVP_KEYMGMT_gen_settable_params()
408 void *provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(keymgmt)); in EVP_KEYMGMT_gettable_params()
425 void *provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(keymgmt)); in EVP_KEYMGMT_settable_params()
Devp_rand.c357 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
438 return rand->gettable_params(ossl_provider_ctx(EVP_RAND_get0_provider(rand))); in EVP_RAND_gettable_params()
447 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(rand)); in EVP_RAND_gettable_ctx_params()
457 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(rand)); in EVP_RAND_settable_ctx_params()
467 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(ctx->meth)); in EVP_RAND_CTX_gettable_params()
477 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(ctx->meth)); in EVP_RAND_CTX_settable_params()
Dkem.c138 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init()
469 provctx = ossl_provider_ctx(EVP_KEM_get0_provider(kem)); in EVP_KEM_gettable_ctx_params()
480 provctx = ossl_provider_ctx(EVP_KEM_get0_provider(kem)); in EVP_KEM_settable_ctx_params()
Ddigest.c278 ctx->algctx = ctx->digest->newctx(ossl_provider_ctx(type->prov)); in evp_md_init_internal()
692 ossl_provider_ctx(EVP_MD_get0_provider(digest))); in EVP_MD_gettable_params()
720 provctx = ossl_provider_ctx(EVP_MD_get0_provider(md)); in EVP_MD_settable_ctx_params()
745 alg = ossl_provider_ctx(EVP_MD_get0_provider(ctx->digest)); in EVP_MD_CTX_settable_params()
776 provctx = ossl_provider_ctx(EVP_MD_get0_provider(md)); in EVP_MD_gettable_ctx_params()
801 provctx = ossl_provider_ctx(EVP_MD_get0_provider(ctx->digest)); in EVP_MD_CTX_gettable_params()
Dexchange.c336 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex()
585 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(keyexch)); in EVP_KEYEXCH_gettable_ctx_params()
595 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(keyexch)); in EVP_KEYEXCH_settable_ctx_params()
Dasymcipher.c145 ctx->op.ciph.algctx = cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_pkey_asym_cipher_init()
539 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_gettable_ctx_params()
550 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_settable_ctx_params()
Dpmeth_lib.c766 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange)); in EVP_PKEY_CTX_gettable_params()
773 provctx = ossl_provider_ctx( in EVP_PKEY_CTX_gettable_params()
781 provctx = ossl_provider_ctx( in EVP_PKEY_CTX_gettable_params()
789 provctx = ossl_provider_ctx(EVP_KEM_get0_provider(ctx->op.encap.kem)); in EVP_PKEY_CTX_gettable_params()
803 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange)); in EVP_PKEY_CTX_settable_params()
810 provctx = ossl_provider_ctx( in EVP_PKEY_CTX_settable_params()
818 provctx = ossl_provider_ctx( in EVP_PKEY_CTX_settable_params()
826 provctx = ossl_provider_ctx(EVP_KEYMGMT_get0_provider(ctx->keymgmt)); in EVP_PKEY_CTX_settable_params()
833 provctx = ossl_provider_ctx(EVP_KEM_get0_provider(ctx->op.encap.kem)); in EVP_PKEY_CTX_settable_params()
Devp_enc.c205 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_internal()
1322 ossl_provider_ctx(EVP_CIPHER_get0_provider(cipher))); in EVP_CIPHER_gettable_params()
1331 provctx = ossl_provider_ctx(EVP_CIPHER_get0_provider(cipher)); in EVP_CIPHER_settable_ctx_params()
1342 provctx = ossl_provider_ctx(EVP_CIPHER_get0_provider(cipher)); in EVP_CIPHER_gettable_ctx_params()
1353 alg = ossl_provider_ctx(EVP_CIPHER_get0_provider(cctx->cipher)); in EVP_CIPHER_CTX_settable_params()
1364 provctx = ossl_provider_ctx(EVP_CIPHER_get0_provider(cctx->cipher)); in EVP_CIPHER_CTX_gettable_params()
Dsignature.c379 provctx = ossl_provider_ctx(EVP_SIGNATURE_get0_provider(sig)); in EVP_SIGNATURE_gettable_ctx_params()
390 provctx = ossl_provider_ctx(EVP_SIGNATURE_get0_provider(sig)); in EVP_SIGNATURE_settable_ctx_params()
520 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
Dkdf_lib.c32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
Dmac_lib.c27 || (ctx->algctx = mac->newctx(ossl_provider_ctx(mac->prov))) == NULL in EVP_MAC_CTX_new()
Dm_sigver.c206 = signature->newctx(ossl_provider_ctx(signature->prov), props); in do_sigver_init()
/third_party/openssl/include/internal/
Dprovider.h65 void *ossl_provider_ctx(const OSSL_PROVIDER *prov);
/third_party/openssl/crypto/encode_decode/
Dencoder_meth.c623 void *provctx = ossl_provider_ctx(OSSL_ENCODER_get0_provider(encoder)); in OSSL_ENCODER_gettable_params()
640 void *provctx = ossl_provider_ctx(OSSL_ENCODER_get0_provider(encoder)); in OSSL_ENCODER_settable_ctx_params()
Ddecoder_meth.c614 void *provctx = ossl_provider_ctx(OSSL_DECODER_get0_provider(decoder)); in OSSL_DECODER_gettable_params()
632 void *provctx = ossl_provider_ctx(OSSL_DECODER_get0_provider(decoder)); in OSSL_DECODER_settable_ctx_params()
/third_party/openssl/doc/internal/man3/
Dossl_provider_new.pod13 ossl_provider_ctx,
62 void *ossl_provider_ctx(const OSSL_PROVIDER *prov);
242 ossl_provider_ctx() returns a context created by the provider.
/third_party/openssl/crypto/store/
Dstore_lib.c803 ossl_provider_ctx(OSSL_STORE_LOADER_get0_provider(ctx->fetched_loader)); in OSSL_STORE_supports_search()
/third_party/openssl/crypto/
Dprovider_core.c1273 void *ossl_provider_ctx(const OSSL_PROVIDER *prov) in ossl_provider_ctx() function