Lines Matching defs:params
23 #include <openssl/params.h>
187 const OSSL_PARAM params[], int operation)
214 if (!dsa_set_ctx_params(pdsactx, params))
220 static int dsa_sign_init(void *vpdsactx, void *vdsa, const OSSL_PARAM params[])
222 return dsa_signverify_init(vpdsactx, vdsa, params, EVP_PKEY_OP_SIGN);
226 const OSSL_PARAM params[])
228 return dsa_signverify_init(vpdsactx, vdsa, params, EVP_PKEY_OP_VERIFY);
275 void *vdsa, const OSSL_PARAM params[],
283 if (!dsa_signverify_init(vpdsactx, vdsa, params, operation))
297 if (!EVP_DigestInit_ex2(pdsactx->mdctx, pdsactx->md, params))
309 void *vdsa, const OSSL_PARAM params[])
311 return dsa_digest_signverify_init(vpdsactx, mdname, vdsa, params,
316 void *vdsa, const OSSL_PARAM params[])
318 return dsa_digest_signverify_init(vpdsactx, mdname, vdsa, params,
444 static int dsa_get_ctx_params(void *vpdsactx, OSSL_PARAM *params)
452 p = OSSL_PARAM_locate(params, OSSL_SIGNATURE_PARAM_ALGORITHM_ID);
457 p = OSSL_PARAM_locate(params, OSSL_SIGNATURE_PARAM_DIGEST);
476 static int dsa_set_ctx_params(void *vpdsactx, const OSSL_PARAM params[])
483 if (params == NULL)
486 p = OSSL_PARAM_locate_const(params, OSSL_SIGNATURE_PARAM_DIGEST);
491 OSSL_PARAM_locate_const(params,
526 static int dsa_get_ctx_md_params(void *vpdsactx, OSSL_PARAM *params)
533 return EVP_MD_CTX_get_params(pdsactx->mdctx, params);
546 static int dsa_set_ctx_md_params(void *vpdsactx, const OSSL_PARAM params[])
553 return EVP_MD_CTX_set_params(pdsactx->mdctx, params);