Lines Matching defs:params
92 const OSSL_PARAM params[])
96 return rc2_set_ctx_params(ctx, params);
101 const OSSL_PARAM params[])
105 return rc2_set_ctx_params(ctx, params);
108 static int rc2_get_ctx_params(void *vctx, OSSL_PARAM params[])
113 if (!ossl_cipher_generic_get_ctx_params(vctx, params))
115 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_RC2_KEYBITS);
120 p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS);
162 static int rc2_set_ctx_params(void *vctx, const OSSL_PARAM params[])
167 if (params == NULL)
170 if (!ossl_cipher_var_keylen_set_ctx_params(vctx, params))
172 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_RC2_KEYBITS);
179 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS);
225 static int alg##_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \
227 return ossl_cipher_generic_get_params(params, EVP_CIPH_##UCMODE##_MODE, \