Home
last modified time | relevance | path

Searched refs:set_ctx_params (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h102 settable_ctx_params, set_ctx_params) \ argument
108 && set_ctx_params(ctx, params); \
114 { OSSL_FUNC_DIGEST_SET_CTX_PARAMS, (void (*)(void))set_ctx_params }, \
/freebsd/crypto/openssl/crypto/evp/
H A Devp_utils.c76 evp_do_ciph_ctx_setparams, set_ctx_params)
81 evp_do_md_ctx_setparams, set_ctx_params)
H A Devp_local.h150 OSSL_FUNC_keyexch_set_ctx_params_fn *set_ctx_params; member
183 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params; member
208 OSSL_FUNC_asym_cipher_set_ctx_params_fn *set_ctx_params; member
229 OSSL_FUNC_kem_set_ctx_params_fn *set_ctx_params; member
H A Dkdf_lib.c171 if (ctx->meth->set_ctx_params != NULL) in EVP_KDF_CTX_set_params()
172 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_KDF_CTX_set_params()
H A Devp_rand.c48 OSSL_FUNC_rand_set_ctx_params_fn *set_ctx_params; member
227 if (rand->set_ctx_params != NULL) in evp_rand_from_algorithm()
229 rand->set_ctx_params = OSSL_FUNC_rand_set_ctx_params(fns); in evp_rand_from_algorithm()
418 if (ctx->meth->set_ctx_params != NULL) in evp_rand_set_ctx_params_locked()
419 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
H A Dkdf_meth.c137 if (kdf->set_ctx_params != NULL) in evp_kdf_from_algorithm()
139 kdf->set_ctx_params = OSSL_FUNC_kdf_set_ctx_params(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c145 if (mac->set_ctx_params != NULL) in evp_mac_from_algorithm()
147 mac->set_ctx_params = OSSL_FUNC_mac_set_ctx_params(fns); in evp_mac_from_algorithm()
H A Dmac_lib.c207 if (ctx->meth->set_ctx_params != NULL) in EVP_MAC_CTX_set_params()
208 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_set_params()
H A Dkem.c335 if (kem->set_ctx_params != NULL) in evp_kem_from_algorithm()
337 kem->set_ctx_params in evp_kem_from_algorithm()
H A Dpmeth_lib.c695 && ctx->op.kex.exchange->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
697 ctx->op.kex.exchange->set_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_set_params()
701 && ctx->op.sig.signature->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
703 ctx->op.sig.signature->set_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_set_params()
707 && ctx->op.ciph.cipher->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
709 ctx->op.ciph.cipher->set_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_set_params()
719 && ctx->op.encap.kem->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
721 ctx->op.encap.kem->set_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_set_params()
H A Ddigest.c709 if (ctx->digest != NULL && ctx->digest->set_ctx_params != NULL) in EVP_MD_CTX_set_params()
710 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
1011 if (md->set_ctx_params == NULL) in evp_md_from_algorithm()
1012 md->set_ctx_params = OSSL_FUNC_digest_set_ctx_params(fns); in evp_md_from_algorithm()
H A Dasymcipher.c401 if (cipher->set_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
403 cipher->set_ctx_params in evp_asym_cipher_from_algorithm()
H A Dexchange.c111 if (exchange->set_ctx_params != NULL) in evp_keyexch_from_algorithm()
113 exchange->set_ctx_params = OSSL_FUNC_keyexch_set_ctx_params(fns); in evp_keyexch_from_algorithm()
H A Devp_enc.c1309 if (ctx->cipher != NULL && ctx->cipher->set_ctx_params != NULL) { in EVP_CIPHER_CTX_set_params()
1311 return ctx->cipher->set_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_set_params()
1610 if (cipher->set_ctx_params != NULL) in evp_cipher_from_algorithm()
1612 cipher->set_ctx_params = OSSL_FUNC_cipher_set_ctx_params(fns); in evp_cipher_from_algorithm()
H A Dsignature.c187 if (signature->set_ctx_params != NULL) in evp_signature_from_algorithm()
189 signature->set_ctx_params in evp_signature_from_algorithm()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_local.h37 OSSL_FUNC_encoder_set_ctx_params_fn *set_ctx_params; member
51 OSSL_FUNC_decoder_set_ctx_params_fn *set_ctx_params; member
H A Ddecoder_meth.c262 if (decoder->set_ctx_params == NULL) in ossl_decoder_from_algorithm()
263 decoder->set_ctx_params = in ossl_decoder_from_algorithm()
683 if (decoderctx == NULL || decoder->set_ctx_params == NULL) in OSSL_DECODER_CTX_set_params()
685 if (!decoder->set_ctx_params(decoderctx, params)) in OSSL_DECODER_CTX_set_params()
H A Dencoder_meth.c264 if (encoder->set_ctx_params == NULL) in encoder_from_algorithm()
265 encoder->set_ctx_params = in encoder_from_algorithm()
683 if (encoderctx == NULL || encoder->set_ctx_params == NULL) in OSSL_ENCODER_CTX_set_params()
685 if (!encoder->set_ctx_params(encoderctx, params)) in OSSL_ENCODER_CTX_set_params()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h219 OSSL_FUNC_mac_set_ctx_params_fn *set_ctx_params; member
240 OSSL_FUNC_kdf_set_ctx_params_fn *set_ctx_params; member
282 OSSL_FUNC_digest_set_ctx_params_fn *set_ctx_params; member
340 OSSL_FUNC_cipher_set_ctx_params_fn *set_ctx_params; member