Home
last modified time | relevance | path

Searched refs:newctx (Results 1 – 21 of 21) sorted by relevance

/openssl-master/crypto/encode_decode/
A Dencoder_local.h33 OSSL_FUNC_encoder_newctx_fn *newctx; member
47 OSSL_FUNC_decoder_newctx_fn *newctx; member
A Ddecoder_meth.c219 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()
A Dencoder_meth.c219 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()
A Ddecoder_lib.c325 if ((decoderctx = decoder->newctx(provctx)) == NULL in OSSL_DECODER_CTX_add_decoder()
404 if ((decoderctx = decoder->newctx(provctx)) == NULL) in collect_extra_decoder()
A Ddecoder_pkey.c268 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder()
A Dencoder_lib.c296 if ((encoderctx = encoder->newctx(provctx)) == NULL in OSSL_ENCODER_CTX_add_encoder()
/openssl-master/crypto/evp/
A Devp_local.h143 OSSL_FUNC_keyexch_newctx_fn *newctx; member
163 OSSL_FUNC_signature_newctx_fn *newctx; member
198 OSSL_FUNC_asym_cipher_newctx_fn *newctx; member
219 OSSL_FUNC_kem_newctx_fn *newctx; member
A Dkdf_meth.c81 if (kdf->newctx != NULL) in evp_kdf_from_algorithm()
83 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
A Dmac_meth.c73 if (mac->newctx != NULL) in evp_mac_from_algorithm()
75 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
A Dkem.c138 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()
A Devp_rand.c33 OSSL_FUNC_rand_newctx_fn *newctx; member
140 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()
A Dasymcipher.c145 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()
A Dexchange.c64 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()
A Dsignature.c66 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()
A Dkdf_lib.c32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
A Ddigest.c259 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()
A Dmac_lib.c27 || (ctx->algctx = mac->newctx(ossl_provider_ctx(mac->prov))) == NULL in EVP_MAC_CTX_new()
A Devp_enc.c196 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()
A Dm_sigver.c206 = signature->newctx(ossl_provider_ctx(signature->prov), props); in do_sigver_init()
/openssl-master/doc/internal/man3/
A Devp_generic_fetch.pod120 OSSL_FUNC_foo_newctx_fn *newctx;
146 foo->newctx = OSSL_FUNC_foo_newctx(fns);
252 c->provctx = c->foo->newctx();
/openssl-master/include/crypto/
A Devp.h208 OSSL_FUNC_mac_newctx_fn *newctx; member
230 OSSL_FUNC_kdf_newctx_fn *newctx; member
274 OSSL_FUNC_digest_newctx_fn *newctx; member
330 OSSL_FUNC_cipher_newctx_fn *newctx; member

Completed in 33 milliseconds