Home
last modified time | relevance | path

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

/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h109 settable_ctx_params, set_ctx_params) \ argument
115 && set_ctx_params(ctx, params); \
121 { OSSL_FUNC_DIGEST_SET_CTX_PARAMS, (void (*)(void))set_ctx_params }, \
/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
219 OSSL_FUNC_asym_cipher_set_ctx_params_fn *set_ctx_params; member
239 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
229 if (rand->set_ctx_params != NULL) in evp_rand_from_algorithm()
231 rand->set_ctx_params = OSSL_FUNC_rand_set_ctx_params(fns); in evp_rand_from_algorithm()
430 if (ctx->meth->set_ctx_params != NULL) in evp_rand_set_ctx_params_locked()
431 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
H A Dmac_meth.c142 if (mac->set_ctx_params != NULL) in evp_mac_from_algorithm()
144 mac->set_ctx_params = OSSL_FUNC_mac_set_ctx_params(fns); in evp_mac_from_algorithm()
H A Dkdf_meth.c136 if (kdf->set_ctx_params != NULL) in evp_kdf_from_algorithm()
138 kdf->set_ctx_params = OSSL_FUNC_kdf_set_ctx_params(fns); in evp_kdf_from_algorithm()
H A Dmac_lib.c204 if (ctx->meth->set_ctx_params != NULL) in EVP_MAC_CTX_set_params()
205 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_set_params()
H A Dpmeth_lib.c669 && ctx->op.kex.exchange->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
671 ctx->op.kex.exchange->set_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_set_params()
675 && ctx->op.sig.signature->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
677 ctx->op.sig.signature->set_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_set_params()
681 && ctx->op.ciph.cipher->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
683 ctx->op.ciph.cipher->set_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_set_params()
693 && ctx->op.encap.kem->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
695 ctx->op.encap.kem->set_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_set_params()
H A Dkem.c379 if (kem->set_ctx_params != NULL) in evp_kem_from_algorithm()
381 kem->set_ctx_params in evp_kem_from_algorithm()
H A Dasymcipher.c414 if (cipher->set_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
416 cipher->set_ctx_params in evp_asym_cipher_from_algorithm()
H A Dexchange.c106 if (exchange->set_ctx_params != NULL) in evp_keyexch_from_algorithm()
108 exchange->set_ctx_params = OSSL_FUNC_keyexch_set_ctx_params(fns); in evp_keyexch_from_algorithm()
H A Ddigest.c788 if (ctx->digest != NULL && ctx->digest->set_ctx_params != NULL) in EVP_MD_CTX_set_params()
789 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
1097 if (md->set_ctx_params == NULL) in evp_md_from_algorithm()
1098 md->set_ctx_params = OSSL_FUNC_digest_set_ctx_params(fns); in evp_md_from_algorithm()
H A Devp_enc.c1333 if (ctx->cipher != NULL && ctx->cipher->set_ctx_params != NULL) { in EVP_CIPHER_CTX_set_params()
1334 r = ctx->cipher->set_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_set_params()
1653 if (cipher->set_ctx_params != NULL) in evp_cipher_from_algorithm()
1655 cipher->set_ctx_params = OSSL_FUNC_cipher_set_ctx_params(fns); in evp_cipher_from_algorithm()
H A Dsignature.c222 if (signature->set_ctx_params != NULL) in evp_signature_from_algorithm()
224 signature->set_ctx_params in evp_signature_from_algorithm()
/openssl/crypto/encode_decode/
H A Dencoder_local.h36 OSSL_FUNC_encoder_set_ctx_params_fn *set_ctx_params; member
50 OSSL_FUNC_decoder_set_ctx_params_fn *set_ctx_params; member
H A Ddecoder_meth.c241 if (decoder->set_ctx_params == NULL) in ossl_decoder_from_algorithm()
242 decoder->set_ctx_params = in ossl_decoder_from_algorithm()
654 if (decoderctx == NULL || decoder->set_ctx_params == NULL) in OSSL_DECODER_CTX_set_params()
656 if (!decoder->set_ctx_params(decoderctx, params)) in OSSL_DECODER_CTX_set_params()
H A Dencoder_meth.c243 if (encoder->set_ctx_params == NULL) in encoder_from_algorithm()
244 encoder->set_ctx_params = in encoder_from_algorithm()
636 if (encoderctx == NULL || encoder->set_ctx_params == NULL) in OSSL_ENCODER_CTX_set_params()
638 if (!encoder->set_ctx_params(encoderctx, params)) in OSSL_ENCODER_CTX_set_params()
/openssl/providers/implementations/signature/
H A Ddsa_sig.c275 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in dsa_signverify_init() argument
300 if (!set_ctx_params(pdsactx, params)) in dsa_signverify_init()
891 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in dsa_sigalg_signverify_init() argument
901 if (!dsa_signverify_init(vpdsactx, vdsa, set_ctx_params, params, operation, in dsa_sigalg_signverify_init()
H A Decdsa_sig.c264 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in ecdsa_signverify_init() argument
287 if (!set_ctx_params(ctx, params)) in ecdsa_signverify_init()
909 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in ecdsa_sigalg_signverify_init() argument
919 if (!ecdsa_signverify_init(vctx, vec, set_ctx_params, params, operation, in ecdsa_sigalg_signverify_init()
H A Drsa_sig.c504 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()
1919 OSSL_FUNC_signature_set_ctx_params_fn *set_ctx_params, in rsa_sigalg_signverify_init() argument
1930 if (!rsa_signverify_init(prsactx, vrsa, set_ctx_params, params, operation, in rsa_sigalg_signverify_init()
/openssl/include/crypto/
H A Devp.h228 OSSL_FUNC_mac_set_ctx_params_fn *set_ctx_params; member
248 OSSL_FUNC_kdf_set_ctx_params_fn *set_ctx_params; member
291 OSSL_FUNC_digest_set_ctx_params_fn *set_ctx_params; member
348 OSSL_FUNC_cipher_set_ctx_params_fn *set_ctx_params; member
/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()

Completed in 67 milliseconds