Lines Matching defs:params
85 const unsigned char *key, *params, *p;
101 params = astr->data;
104 p = params;
141 unsigned char *params = NULL, *key = NULL;
145 if ((params_len = i2d_DHparams(dh, ¶ms)) <= 0) {
154 ASN1_STRING_set0(astr, params, params_len);
155 params = NULL;
179 freezero(params, params_len);
198 const unsigned char *key, *params, *p;
214 params = astr->data;
217 p = params;
256 unsigned char *params = NULL, *key = NULL;
260 if ((params_len = i2d_DHparams(dh, ¶ms)) <= 0) {
269 ASN1_STRING_set0(astr, params, params_len);
270 params = NULL;
296 freezero(params, params_len);
303 dh_param_decode(EVP_PKEY *pkey, const unsigned char **params, int params_len)
308 if ((dh = d2i_DHparams(NULL, params, params_len)) == NULL) {
325 dh_param_encode(const EVP_PKEY *pkey, unsigned char **params)
327 return i2d_DHparams(pkey->pkey.dh, params);