Lines Matching defs:params
230 const ECCurveParams * params, int kmflag)
250 MP_CHECKOK(mp_read_radix(&irr, params->irr, 16));
251 MP_CHECKOK(mp_read_radix(&curvea, params->curvea, 16));
252 MP_CHECKOK(mp_read_radix(&curveb, params->curveb, 16));
253 MP_CHECKOK(mp_read_radix(&genx, params->genx, 16));
254 MP_CHECKOK(mp_read_radix(&geny, params->geny, 16));
255 MP_CHECKOK(mp_read_radix(&order, params->order, 16));
265 if (params->field == ECField_GFp) {
272 &order, params->cofactor);
281 &order, params->cofactor);
287 &order, params->cofactor);
296 &order, params->cofactor);
302 &order, params->cofactor);
310 &order, params->cofactor);
317 &order, params->cofactor);
326 &order, params->cofactor);
330 } else if (params->field == ECField_GF2m) {
331 group = ECGroup_consGF2m(&irr, NULL, &curvea, &curveb, &genx, &geny, &order, params->cofactor);
351 if ((group != NULL) && (params->text != NULL)) {
353 int n = strlen(params->text) + 1;
360 bcopy(params->text, group->text, n);
363 group->text = strdup(params->text);
386 ECGroup_fromHex(const ECCurveParams * params, int kmflag)
388 return ecgroup_fromNameAndHex(ECCurve_noName, params, kmflag);
396 ECCurveParams *params = NULL;
399 params = EC_GetNamedCurveParams(name, kmflag);
400 if (params == NULL) {
406 group = ecgroup_fromNameAndHex(name, params, kmflag);
413 EC_FreeCurveParams(params);