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.c117 if (kdf->settable_ctx_params != NULL) in evp_kdf_from_algorithm()
119 kdf->settable_ctx_params = OSSL_FUNC_kdf_settable_ctx_params(fns); in evp_kdf_from_algorithm()
198 if (kdf->settable_ctx_params == NULL) in EVP_KDF_settable_ctx_params()
201 return kdf->settable_ctx_params(NULL, alg); in EVP_KDF_settable_ctx_params()
218 if (ctx->meth->settable_ctx_params == NULL) in EVP_KDF_CTX_settable_params()
221 return ctx->meth->settable_ctx_params(ctx->algctx, alg); in EVP_KDF_CTX_settable_params()
H A Dmac_meth.c124 if (mac->settable_ctx_params != NULL) in evp_mac_from_algorithm()
126 mac->settable_ctx_params = OSSL_FUNC_mac_settable_ctx_params(fns); in evp_mac_from_algorithm()
219 if (mac->settable_ctx_params == NULL) in EVP_MAC_settable_ctx_params()
222 return mac->settable_ctx_params(NULL, alg); in EVP_MAC_settable_ctx_params()
239 if (ctx->meth->settable_ctx_params == NULL) in EVP_MAC_CTX_settable_params()
242 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
210 if (rand->settable_ctx_params != NULL) in evp_rand_from_algorithm()
212 rand->settable_ctx_params = OSSL_FUNC_rand_settable_ctx_params(fns); in evp_rand_from_algorithm()
465 if (rand->settable_ctx_params == NULL) in EVP_RAND_settable_ctx_params()
468 return rand->settable_ctx_params(NULL, provctx); in EVP_RAND_settable_ctx_params()
485 if (ctx->meth->settable_ctx_params == NULL) in EVP_RAND_CTX_settable_params()
488 return ctx->meth->settable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_settable_params()
H A Devp_local.h155 OSSL_FUNC_keyexch_settable_ctx_params_fn *settable_ctx_params; member
193 OSSL_FUNC_signature_settable_ctx_params_fn *settable_ctx_params; member
243 OSSL_FUNC_asym_cipher_settable_ctx_params_fn *settable_ctx_params; member
263 OSSL_FUNC_kem_settable_ctx_params_fn *settable_ctx_params; member
H A Dkem.c396 if (kem->settable_ctx_params != NULL) in evp_kem_from_algorithm()
398 kem->settable_ctx_params in evp_kem_from_algorithm()
533 if (kem == NULL || kem->settable_ctx_params == NULL) in EVP_KEM_settable_ctx_params()
537 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()
601 if (keyexch == NULL || keyexch->settable_ctx_params == NULL) in EVP_KEYEXCH_settable_ctx_params()
604 return keyexch->settable_ctx_params(NULL, provctx); in EVP_KEYEXCH_settable_ctx_params()
H A Dasymcipher.c450 if (cipher->settable_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
452 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()
1107 if (md->settable_ctx_params == NULL) in evp_md_from_algorithm()
1108 md->settable_ctx_params = OSSL_FUNC_digest_settable_ctx_params(fns); in evp_md_from_algorithm()
H A Dpmeth_lib.c808 && ctx->op.kex.exchange->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
810 return ctx->op.kex.exchange->settable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_settable_params()
815 && ctx->op.sig.signature->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
818 return ctx->op.sig.signature->settable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_settable_params()
823 && ctx->op.ciph.cipher->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
826 return ctx->op.ciph.cipher->settable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_settable_params()
838 && ctx->op.encap.kem->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
840 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()
561 if (sig == NULL || sig->settable_ctx_params == NULL) in EVP_SIGNATURE_settable_ctx_params()
565 return sig->settable_ctx_params(NULL, provctx); in EVP_SIGNATURE_settable_ctx_params()
H A Devp_enc.c1685 if (cipher != NULL && cipher->settable_ctx_params != NULL) { in EVP_CIPHER_settable_ctx_params()
1687 return cipher->settable_ctx_params(NULL, provctx); in EVP_CIPHER_settable_ctx_params()
1707 if (cctx != NULL && cctx->cipher->settable_ctx_params != NULL) { in EVP_CIPHER_CTX_settable_params()
1709 return cctx->cipher->settable_ctx_params(cctx->algctx, alg); in EVP_CIPHER_CTX_settable_params()
2015 if (cipher->settable_ctx_params != NULL) in evp_cipher_from_algorithm()
2017 cipher->settable_ctx_params = OSSL_FUNC_cipher_settable_ctx_params(fns); 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.c254 if (encoder->settable_ctx_params == NULL) in encoder_from_algorithm()
255 encoder->settable_ctx_params = OSSL_FUNC_encoder_settable_ctx_params(fns); in encoder_from_algorithm()
596 if (encoder != NULL && encoder->settable_ctx_params != NULL) { in OSSL_ENCODER_settable_ctx_params()
599 return encoder->settable_ctx_params(provctx); in OSSL_ENCODER_settable_ctx_params()
H A Ddecoder_meth.c254 if (decoder->settable_ctx_params == NULL) in ossl_decoder_from_algorithm()
255 decoder->settable_ctx_params = OSSL_FUNC_decoder_settable_ctx_params(fns); in ossl_decoder_from_algorithm()
610 if (decoder != NULL && decoder->settable_ctx_params != NULL) { in OSSL_DECODER_settable_ctx_params()
613 return decoder->settable_ctx_params(provctx); in OSSL_DECODER_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h114 settable_ctx_params, set_ctx_params) \ argument
125 { 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.c780 static const OSSL_PARAM settable_ctx_params[] = { variable
797 return settable_ctx_params; in dsa_settable_ctx_params()
H A Decdsa_sig.c805 static const OSSL_PARAM settable_ctx_params[] = { variable
815 return settable_ctx_params;
H A Deddsa_sig.c897 static const OSSL_PARAM settable_ctx_params[] = { variable
906 return settable_ctx_params; in eddsa_settable_ctx_params()
H A Drsa_sig.c1780 static const OSSL_PARAM settable_ctx_params[] = { variable
1813 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()