Searched refs:newctx (Results 1 – 21 of 21) sorted by relevance
33 OSSL_FUNC_encoder_newctx_fn *newctx; member47 OSSL_FUNC_decoder_newctx_fn *newctx; member
219 if (decoder->newctx == NULL) in ossl_decoder_from_algorithm()220 decoder->newctx = OSSL_FUNC_decoder_newctx(fns); in ossl_decoder_from_algorithm()266 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()267 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
219 if (encoder->newctx == NULL) in encoder_from_algorithm()220 encoder->newctx = in encoder_from_algorithm()274 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()275 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
325 if ((decoderctx = decoder->newctx(provctx)) == NULL in OSSL_DECODER_CTX_add_decoder()404 if ((decoderctx = decoder->newctx(provctx)) == NULL) in collect_extra_decoder()
268 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder()
296 if ((encoderctx = encoder->newctx(provctx)) == NULL in OSSL_ENCODER_CTX_add_encoder()
143 OSSL_FUNC_keyexch_newctx_fn *newctx; member163 OSSL_FUNC_signature_newctx_fn *newctx; member198 OSSL_FUNC_asym_cipher_newctx_fn *newctx; member219 OSSL_FUNC_kem_newctx_fn *newctx; member
81 if (kdf->newctx != NULL) in evp_kdf_from_algorithm()83 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
73 if (mac->newctx != NULL) in evp_mac_from_algorithm()75 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
138 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init()280 if (kem->newctx != NULL) in evp_kem_from_algorithm()282 kem->newctx = OSSL_FUNC_kem_newctx(fns); in evp_kem_from_algorithm()
33 OSSL_FUNC_rand_newctx_fn *newctx; member140 if (rand->newctx != NULL) in evp_rand_from_algorithm()142 rand->newctx = OSSL_FUNC_rand_newctx(fns); in evp_rand_from_algorithm()357 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
145 ctx->op.ciph.algctx = cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_pkey_asym_cipher_init()346 if (cipher->newctx != NULL) in evp_asym_cipher_from_algorithm()348 cipher->newctx = OSSL_FUNC_asym_cipher_newctx(fns); in evp_asym_cipher_from_algorithm()
64 if (exchange->newctx != NULL) in evp_keyexch_from_algorithm()66 exchange->newctx = OSSL_FUNC_keyexch_newctx(fns); in evp_keyexch_from_algorithm()336 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex()
66 if (signature->newctx != NULL) in evp_signature_from_algorithm()68 signature->newctx = OSSL_FUNC_signature_newctx(fns); in evp_signature_from_algorithm()519 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
259 ctx->algctx = ctx->digest->newctx(ossl_provider_ctx(type->prov)); in evp_md_init_internal()939 if (md->newctx == NULL) { in evp_md_from_algorithm()940 md->newctx = OSSL_FUNC_digest_newctx(fns); in evp_md_from_algorithm()
27 || (ctx->algctx = mac->newctx(ossl_provider_ctx(mac->prov))) == NULL in EVP_MAC_CTX_new()
196 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_internal()1494 if (cipher->newctx != NULL) in evp_cipher_from_algorithm()1496 cipher->newctx = OSSL_FUNC_cipher_newctx(fns); in evp_cipher_from_algorithm()
206 = signature->newctx(ossl_provider_ctx(signature->prov), props); in do_sigver_init()
120 OSSL_FUNC_foo_newctx_fn *newctx;146 foo->newctx = OSSL_FUNC_foo_newctx(fns);252 c->provctx = c->foo->newctx();
208 OSSL_FUNC_mac_newctx_fn *newctx; member230 OSSL_FUNC_kdf_newctx_fn *newctx; member274 OSSL_FUNC_digest_newctx_fn *newctx; member330 OSSL_FUNC_cipher_newctx_fn *newctx; member
Completed in 33 milliseconds