Lines Matching refs:params
13 #include <openssl/params.h>
109 const OSSL_PARAM params[])
113 if (!ossl_prov_is_running() || !siphash_set_params(ctx, params))
164 static int siphash_get_ctx_params(void *vmacctx, OSSL_PARAM params[])
169 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_SIZE)) != NULL
172 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_C_ROUNDS)) != NULL
175 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_D_ROUNDS)) != NULL
195 static int siphash_set_params(void *vmacctx, const OSSL_PARAM *params)
201 if (params == NULL)
204 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_SIZE)) != NULL) {
210 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_C_ROUNDS)) != NULL
213 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_D_ROUNDS)) != NULL
216 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_KEY)) != NULL)