Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h114 settable_ctx_params, set_ctx_params) \ argument
120 && set_ctx_params(ctx, params); \
126 { 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.h154 OSSL_FUNC_keyexch_set_ctx_params_fn *set_ctx_params; member
192 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params; member
242 OSSL_FUNC_asym_cipher_set_ctx_params_fn *set_ctx_params; member
262 OSSL_FUNC_kem_set_ctx_params_fn *set_ctx_params; member
H A Dkdf_lib.c169 if (ctx->meth->set_ctx_params != NULL) in EVP_KDF_CTX_set_params()
170 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_KDF_CTX_set_params()
H A Devp_rand.c47 OSSL_FUNC_rand_set_ctx_params_fn *set_ctx_params; member
226 if (rand->set_ctx_params != NULL) in evp_rand_from_algorithm()
228 rand->set_ctx_params = OSSL_FUNC_rand_set_ctx_params(fns); in evp_rand_from_algorithm()
428 if (ctx->meth->set_ctx_params != NULL) in evp_rand_set_ctx_params_locked()
429 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
H A Dkdf_meth.c132 if (kdf->set_ctx_params != NULL) in evp_kdf_from_algorithm()
134 kdf->set_ctx_params = OSSL_FUNC_kdf_set_ctx_params(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c139 if (mac->set_ctx_params != NULL) in evp_mac_from_algorithm()
141 mac->set_ctx_params = OSSL_FUNC_mac_set_ctx_params(fns); in evp_mac_from_algorithm()
H A Dmac_lib.c219 if (ctx->meth->set_ctx_params != NULL) in EVP_MAC_CTX_set_params()
220 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_set_params()
H A Dpmeth_lib.c683 && ctx->op.kex.exchange->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
684 return ctx->op.kex.exchange->set_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_set_params()
688 && ctx->op.sig.signature->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
689 return ctx->op.sig.signature->set_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_set_params()
693 && ctx->op.ciph.cipher->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
694 return ctx->op.ciph.cipher->set_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_set_params()
703 && ctx->op.encap.kem->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
704 return ctx->op.encap.kem->set_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_set_params()
H A Dkem.c389 if (kem->set_ctx_params != NULL) in evp_kem_from_algorithm()
391 kem->set_ctx_params in evp_kem_from_algorithm()
H A Dexchange.c117 if (exchange->set_ctx_params != NULL) in evp_keyexch_from_algorithm()
119 exchange->set_ctx_params = OSSL_FUNC_keyexch_set_ctx_params(fns); in evp_keyexch_from_algorithm()
H A Ddigest.c789 if (ctx->digest != NULL && ctx->digest->set_ctx_params != NULL) in EVP_MD_CTX_set_params()
790 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
1095 if (md->set_ctx_params == NULL) in evp_md_from_algorithm()
1096 md->set_ctx_params = OSSL_FUNC_digest_set_ctx_params(fns); in evp_md_from_algorithm()
H A Dasymcipher.c443 if (cipher->set_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
445 cipher->set_ctx_params in evp_asym_cipher_from_algorithm()
H A Devp_enc.c1646 if (ctx->cipher != NULL && ctx->cipher->set_ctx_params != NULL) { in EVP_CIPHER_CTX_set_params()
1647 r = ctx->cipher->set_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_set_params()
2000 if (cipher->set_ctx_params != NULL) in evp_cipher_from_algorithm()
2002 cipher->set_ctx_params = OSSL_FUNC_cipher_set_ctx_params(fns); in evp_cipher_from_algorithm()
H A Dsignature.c235 if (signature->set_ctx_params != NULL) in evp_signature_from_algorithm()
237 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 Dencoder_meth.c250 if (encoder->set_ctx_params == NULL) in encoder_from_algorithm()
251 encoder->set_ctx_params = OSSL_FUNC_encoder_set_ctx_params(fns); in encoder_from_algorithm()
637 if (encoderctx == NULL || encoder->set_ctx_params == NULL) in OSSL_ENCODER_CTX_set_params()
639 if (!encoder->set_ctx_params(encoderctx, params)) in OSSL_ENCODER_CTX_set_params()
H A Ddecoder_meth.c250 if (decoder->set_ctx_params == NULL) in ossl_decoder_from_algorithm()
251 decoder->set_ctx_params = OSSL_FUNC_decoder_set_ctx_params(fns); in ossl_decoder_from_algorithm()
657 if (decoderctx == NULL || decoder->set_ctx_params == NULL) in OSSL_DECODER_CTX_set_params()
659 if (!decoder->set_ctx_params(decoderctx, params)) in OSSL_DECODER_CTX_set_params()
H A Ddecoder_lib.c229 if (input_structure != NULL && decoder->set_ctx_params != NULL) { in ossl_decoder_instance_new_forprov()
234 if (!decoder->set_ctx_params(decoderctx, params)) { in ossl_decoder_instance_new_forprov()
484 if (decoder->set_ctx_params != NULL in collect_extra_decoder()
491 if (!decoder->set_ctx_params(decoderctx, params)) { in collect_extra_decoder()
/freebsd/crypto/openssl/providers/implementations/signature/
H A Ddsa_sig.c279 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in dsa_signverify_init() argument
304 if (!set_ctx_params(pdsactx, params)) in dsa_signverify_init()
893 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in dsa_sigalg_signverify_init() argument
903 if (!dsa_signverify_init(vpdsactx, vdsa, set_ctx_params, params, operation, in dsa_sigalg_signverify_init()
H A Decdsa_sig.c273 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, argument
296 if (!set_ctx_params(ctx, params))
911 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, argument
921 if (!ecdsa_signverify_init(vctx, vec, set_ctx_params, params, operation,
H A Drsa_sig.c505 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in rsa_signverify_init() argument
599 if (!set_ctx_params(prsactx, params)) in rsa_signverify_init()
1914 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in rsa_sigalg_signverify_init() argument
1925 if (!rsa_signverify_init(prsactx, vrsa, set_ctx_params, params, operation, in rsa_sigalg_signverify_init()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h228 OSSL_FUNC_mac_set_ctx_params_fn *set_ctx_params; member
249 OSSL_FUNC_kdf_set_ctx_params_fn *set_ctx_params; member
292 OSSL_FUNC_digest_set_ctx_params_fn *set_ctx_params; member
353 OSSL_FUNC_cipher_set_ctx_params_fn *set_ctx_params; member
/freebsd/crypto/openssl/doc/designs/
H A Dfips_indicator.md167 set_ctx_params(), but some algorithms currently do checks in their init operation.
239 This should be put at the top of the algorithms set_ctx_params().
252 Some existing algorithms will require set_ctx_params()/settable_ctx_params()