/openssl/providers/implementations/include/prov/ |
H A D | digestcommon.h | 102 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 }, \
|
/openssl/crypto/evp/ |
H A D | evp_utils.c | 76 evp_do_ciph_ctx_setparams, set_ctx_params) 81 evp_do_md_ctx_setparams, set_ctx_params)
|
H A D | evp_local.h | 154 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 D | kdf_lib.c | 169 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 D | evp_rand.c | 47 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 D | mac_meth.c | 142 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 D | kdf_meth.c | 136 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 D | mac_lib.c | 204 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 D | pmeth_lib.c | 669 && 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 D | kem.c | 379 if (kem->set_ctx_params != NULL) in evp_kem_from_algorithm() 381 kem->set_ctx_params in evp_kem_from_algorithm()
|
H A D | asymcipher.c | 414 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 D | exchange.c | 106 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 D | digest.c | 776 if (ctx->digest != NULL && ctx->digest->set_ctx_params != NULL) in EVP_MD_CTX_set_params() 777 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params() 1085 if (md->set_ctx_params == NULL) in evp_md_from_algorithm() 1086 md->set_ctx_params = OSSL_FUNC_digest_set_ctx_params(fns); in evp_md_from_algorithm()
|
H A D | evp_enc.c | 1333 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 D | signature.c | 222 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 D | encoder_local.h | 36 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 D | decoder_meth.c | 241 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 D | encoder_meth.c | 243 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 D | dsa_sig.c | 275 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 D | ecdsa_sig.c | 264 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 D | rsa_sig.c | 504 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 D | evp.h | 228 OSSL_FUNC_mac_set_ctx_params_fn *set_ctx_params; member 248 OSSL_FUNC_kdf_set_ctx_params_fn *set_ctx_params; member 290 OSSL_FUNC_digest_set_ctx_params_fn *set_ctx_params; member 347 OSSL_FUNC_cipher_set_ctx_params_fn *set_ctx_params; member
|
/openssl/doc/designs/ |
H A D | fips_indicator.md | 167 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()
|