Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/evp/
H A Dkdf_meth.c119 if (kdf->settable_ctx_params != NULL) in evp_kdf_from_algorithm()
121 kdf->settable_ctx_params = in evp_kdf_from_algorithm()
201 if (kdf->settable_ctx_params == NULL) in EVP_KDF_settable_ctx_params()
204 return kdf->settable_ctx_params(NULL, alg); in EVP_KDF_settable_ctx_params()
221 if (ctx->meth->settable_ctx_params == NULL) in EVP_KDF_CTX_settable_params()
224 return ctx->meth->settable_ctx_params(ctx->algctx, alg); in EVP_KDF_CTX_settable_params()
H A Dmac_meth.c126 if (mac->settable_ctx_params != NULL) in evp_mac_from_algorithm()
128 mac->settable_ctx_params = in evp_mac_from_algorithm()
222 if (mac->settable_ctx_params == NULL) in EVP_MAC_settable_ctx_params()
225 return mac->settable_ctx_params(NULL, alg); in EVP_MAC_settable_ctx_params()
242 if (ctx->meth->settable_ctx_params == NULL) in EVP_MAC_CTX_settable_params()
245 return ctx->meth->settable_ctx_params(ctx->algctx, alg); in EVP_MAC_CTX_settable_params()
H A Devp_rand.c44 OSSL_FUNC_rand_settable_ctx_params_fn *settable_ctx_params; member
212 if (rand->settable_ctx_params != NULL) in evp_rand_from_algorithm()
214 rand->settable_ctx_params = in evp_rand_from_algorithm()
467 if (rand->settable_ctx_params == NULL) in EVP_RAND_settable_ctx_params()
470 return rand->settable_ctx_params(NULL, provctx); in EVP_RAND_settable_ctx_params()
487 if (ctx->meth->settable_ctx_params == NULL) in EVP_RAND_CTX_settable_params()
490 return ctx->meth->settable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_settable_params()
H A Devp_local.h156 OSSL_FUNC_keyexch_settable_ctx_params_fn *settable_ctx_params; member
194 OSSL_FUNC_signature_settable_ctx_params_fn *settable_ctx_params; member
244 OSSL_FUNC_asym_cipher_settable_ctx_params_fn *settable_ctx_params; member
264 OSSL_FUNC_kem_settable_ctx_params_fn *settable_ctx_params; member
H A Dkem.c397 if (kem->settable_ctx_params != NULL) in evp_kem_from_algorithm()
399 kem->settable_ctx_params in evp_kem_from_algorithm()
534 if (kem == NULL || kem->settable_ctx_params == NULL) in EVP_KEM_settable_ctx_params()
538 return kem->settable_ctx_params(NULL, provctx); in EVP_KEM_settable_ctx_params()
H A Dexchange.c123 if (exchange->settable_ctx_params != NULL) in evp_keyexch_from_algorithm()
125 exchange->settable_ctx_params in evp_keyexch_from_algorithm()
608 if (keyexch == NULL || keyexch->settable_ctx_params == NULL) in EVP_KEYEXCH_settable_ctx_params()
611 return keyexch->settable_ctx_params(NULL, provctx); in EVP_KEYEXCH_settable_ctx_params()
H A Dasymcipher.c449 if (cipher->settable_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
451 cipher->settable_ctx_params in evp_asym_cipher_from_algorithm()
588 if (cip == NULL || cip->settable_ctx_params == NULL) in EVP_ASYM_CIPHER_settable_ctx_params()
592 return cip->settable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_settable_ctx_params()
H A Ddigest.c799 if (md != NULL && md->settable_ctx_params != NULL) { in EVP_MD_settable_ctx_params()
801 return md->settable_ctx_params(NULL, provctx); in EVP_MD_settable_ctx_params()
824 if (ctx->digest != NULL && ctx->digest->settable_ctx_params != NULL) { in EVP_MD_CTX_settable_params()
826 return ctx->digest->settable_ctx_params(ctx->algctx, alg); in EVP_MD_CTX_settable_params()
1108 if (md->settable_ctx_params == NULL) in evp_md_from_algorithm()
1109 md->settable_ctx_params = in evp_md_from_algorithm()
H A Dpmeth_lib.c819 && ctx->op.kex.exchange->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
821 return ctx->op.kex.exchange->settable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_settable_params()
826 && ctx->op.sig.signature->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
829 return ctx->op.sig.signature->settable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_settable_params()
834 && ctx->op.ciph.cipher->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
837 return ctx->op.ciph.cipher->settable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_settable_params()
849 && ctx->op.encap.kem->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
851 return ctx->op.encap.kem->settable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_settable_params()
H A Dsignature.c242 if (signature->settable_ctx_params != NULL) in evp_signature_from_algorithm()
244 signature->settable_ctx_params in evp_signature_from_algorithm()
566 if (sig == NULL || sig->settable_ctx_params == NULL) in EVP_SIGNATURE_settable_ctx_params()
570 return sig->settable_ctx_params(NULL, provctx); in EVP_SIGNATURE_settable_ctx_params()
H A Devp_enc.c1691 if (cipher != NULL && cipher->settable_ctx_params != NULL) { in EVP_CIPHER_settable_ctx_params()
1693 return cipher->settable_ctx_params(NULL, provctx); in EVP_CIPHER_settable_ctx_params()
1713 if (cctx != NULL && cctx->cipher->settable_ctx_params != NULL) { in EVP_CIPHER_CTX_settable_params()
1715 return cctx->cipher->settable_ctx_params(cctx->algctx, alg); in EVP_CIPHER_CTX_settable_params()
2022 if (cipher->settable_ctx_params != NULL) in evp_cipher_from_algorithm()
2024 cipher->settable_ctx_params = in evp_cipher_from_algorithm()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Dencoder_local.h38 OSSL_FUNC_encoder_settable_ctx_params_fn *settable_ctx_params; member
52 OSSL_FUNC_decoder_settable_ctx_params_fn *settable_ctx_params; member
H A Dencoder_meth.c258 if (encoder->settable_ctx_params == NULL) in encoder_from_algorithm()
259 encoder->settable_ctx_params = in encoder_from_algorithm()
604 if (encoder != NULL && encoder->settable_ctx_params != NULL) { in OSSL_ENCODER_settable_ctx_params()
607 return encoder->settable_ctx_params(provctx); in OSSL_ENCODER_settable_ctx_params()
H A Ddecoder_meth.c256 if (decoder->settable_ctx_params == NULL) in ossl_decoder_from_algorithm()
257 decoder->settable_ctx_params = in ossl_decoder_from_algorithm()
614 if (decoder != NULL && decoder->settable_ctx_params != NULL) { in OSSL_DECODER_settable_ctx_params()
617 return decoder->settable_ctx_params(provctx); in OSSL_DECODER_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h109 settable_ctx_params, set_ctx_params) \ argument
120 { OSSL_FUNC_DIGEST_SETTABLE_CTX_PARAMS, (void (*)(void))settable_ctx_params }, \
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dml_dsa_sig.c290 static const OSSL_PARAM settable_ctx_params[] = { in ml_dsa_settable_ctx_params() local
299 return settable_ctx_params; in ml_dsa_settable_ctx_params()
H A Dslh_dsa_sig.c303 static const OSSL_PARAM settable_ctx_params[] = { in slh_dsa_settable_ctx_params() local
311 return settable_ctx_params; in slh_dsa_settable_ctx_params()
H A Ddsa_sig.c781 static const OSSL_PARAM settable_ctx_params[] = { variable
798 return settable_ctx_params; in dsa_settable_ctx_params()
H A Decdsa_sig.c811 static const OSSL_PARAM settable_ctx_params[] = { variable
821 return settable_ctx_params;
H A Deddsa_sig.c890 static const OSSL_PARAM settable_ctx_params[] = { variable
899 return settable_ctx_params; in eddsa_settable_ctx_params()
H A Drsa_sig.c1785 static const OSSL_PARAM settable_ctx_params[] = { variable
1818 return settable_ctx_params; in rsa_settable_ctx_params()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h225 OSSL_FUNC_mac_settable_ctx_params_fn *settable_ctx_params; member
246 OSSL_FUNC_kdf_settable_ctx_params_fn *settable_ctx_params; member
295 OSSL_FUNC_digest_settable_ctx_params_fn *settable_ctx_params; member
356 OSSL_FUNC_cipher_settable_ctx_params_fn *settable_ctx_params; member
/freebsd/crypto/openssl/doc/designs/
H A Dfips_indicator.md252 Some existing algorithms will require set_ctx_params()/settable_ctx_params()
/freebsd/crypto/openssl/test/
H A Devp_test.c234 static const OSSL_PARAM settable_ctx_params[] = { variable
252 settables = settable_ctx_params; in ctrl2params()