/openssl/test/ |
H A D | asn1_stable_parse_test.c | 42 OSSL_LIB_CTX *newctx = OSSL_LIB_CTX_new(); in test_asn1_stable_parse() local 44 if (!TEST_ptr(newctx)) in test_asn1_stable_parse() 47 if (!TEST_int_eq(OSSL_LIB_CTX_load_config(newctx, config_file), 0)) in test_asn1_stable_parse() 60 OSSL_LIB_CTX_free(newctx); in test_asn1_stable_parse()
|
H A D | fake_rsaprov.c | 364 unsigned char *newctx; in fake_rsa_sig_dupctx() local 369 if (!TEST_ptr(newctx = OPENSSL_zalloc(1))) in fake_rsa_sig_dupctx() 372 *newctx = *sigctx; in fake_rsa_sig_dupctx() 373 return newctx; in fake_rsa_sig_dupctx()
|
/openssl/crypto/encode_decode/ |
H A D | encoder_local.h | 32 OSSL_FUNC_encoder_newctx_fn *newctx; member 46 OSSL_FUNC_decoder_newctx_fn *newctx; member
|
H A D | decoder_meth.c | 223 if (decoder->newctx == NULL) in ossl_decoder_from_algorithm() 224 decoder->newctx = OSSL_FUNC_decoder_newctx(fns); in ossl_decoder_from_algorithm() 270 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm() 271 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
|
H A D | encoder_meth.c | 223 if (encoder->newctx == NULL) in encoder_from_algorithm() 224 encoder->newctx = in encoder_from_algorithm() 278 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm() 279 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
|
H A D | decoder_lib.c | 301 dest->decoderctx = dest->decoder->newctx(provctx); in ossl_decoder_instance_dup() 356 if ((decoderctx = decoder->newctx(provctx)) == NULL in OSSL_DECODER_CTX_add_decoder() 438 if ((decoderctx = decoder->newctx(provctx)) == NULL) in collect_extra_decoder()
|
H A D | encoder_lib.c | 298 if ((encoderctx = encoder->newctx(provctx)) == NULL in OSSL_ENCODER_CTX_add_encoder()
|
H A D | decoder_pkey.c | 235 if ((decoderctx = decoder->newctx(provctx)) == NULL) { in collect_decoder_keymgmt()
|
/openssl/crypto/evp/ |
H A D | evp_local.h | 148 OSSL_FUNC_keyexch_newctx_fn *newctx; member 167 OSSL_FUNC_signature_newctx_fn *newctx; member 210 OSSL_FUNC_asym_cipher_newctx_fn *newctx; member 230 OSSL_FUNC_kem_newctx_fn *newctx; member
|
H A D | mac_meth.c | 79 if (mac->newctx != NULL) in evp_mac_from_algorithm() 81 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
|
H A D | kdf_meth.c | 80 if (kdf->newctx != NULL) in evp_kdf_from_algorithm() 82 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
|
H A D | evp_rand.c | 32 OSSL_FUNC_rand_newctx_fn *newctx; member 142 if (rand->newctx != NULL) in evp_rand_from_algorithm() 144 rand->newctx = OSSL_FUNC_rand_newctx(fns); in evp_rand_from_algorithm() 370 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
|
H A D | kem.c | 151 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init() 312 if (kem->newctx != NULL) in evp_kem_from_algorithm() 314 kem->newctx = OSSL_FUNC_kem_newctx(fns); in evp_kem_from_algorithm()
|
H A D | asymcipher.c | 145 ctx->op.ciph.algctx = cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_pkey_asym_cipher_init() 359 if (cipher->newctx != NULL) in evp_asym_cipher_from_algorithm() 361 cipher->newctx = OSSL_FUNC_asym_cipher_newctx(fns); in evp_asym_cipher_from_algorithm()
|
H A D | exchange.c | 59 if (exchange->newctx != NULL) in evp_keyexch_from_algorithm() 61 exchange->newctx = OSSL_FUNC_keyexch_newctx(fns); in evp_keyexch_from_algorithm() 335 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex()
|
H A D | kdf_lib.c | 32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
|
H A D | signature.c | 68 if (signature->newctx != NULL) in evp_signature_from_algorithm() 70 signature->newctx = OSSL_FUNC_signature_newctx(fns); in evp_signature_from_algorithm() 701 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
|
H A D | mac_lib.c | 28 if ((ctx->algctx = mac->newctx(ossl_provider_ctx(mac->prov))) == NULL in EVP_MAC_CTX_new()
|
H A D | digest.c | 290 ctx->algctx = ctx->digest->newctx(ossl_provider_ctx(type->prov)); in evp_md_init_internal() 1048 if (md->newctx == NULL) { in evp_md_from_algorithm() 1049 md->newctx = OSSL_FUNC_digest_newctx(fns); in evp_md_from_algorithm()
|
H A D | evp_enc.c | 220 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_internal() 1597 if (cipher->newctx != NULL) in evp_cipher_from_algorithm() 1599 cipher->newctx = OSSL_FUNC_cipher_newctx(fns); in evp_cipher_from_algorithm()
|
H A D | m_sigver.c | 199 = signature->newctx(ossl_provider_ctx(signature->prov), props); in do_sigver_init()
|
/openssl/doc/internal/man3/ |
H A D | evp_generic_fetch.pod | 103 OSSL_FUNC_foo_newctx_fn *newctx; 134 foo->newctx = OSSL_FUNC_foo_newctx(fns); 247 c->provctx = c->foo->newctx();
|
/openssl/include/crypto/ |
H A D | evp.h | 217 OSSL_FUNC_mac_newctx_fn *newctx; member 238 OSSL_FUNC_kdf_newctx_fn *newctx; member 281 OSSL_FUNC_digest_newctx_fn *newctx; member 338 OSSL_FUNC_cipher_newctx_fn *newctx; member
|
/openssl/doc/designs/ |
H A D | xof.md | 177 EVP_MD_CTX_copy_ex(ctx, newctx);
|