Lines Matching refs:kmflag
51 ECGroup_new(int kmflag)
56 group = (ECGroup *) kmem_alloc(sizeof(ECGroup), kmflag);
76 MP_CHECKOK(mp_init(&group->curvea, kmflag));
77 MP_CHECKOK(mp_init(&group->curveb, kmflag));
78 MP_CHECKOK(mp_init(&group->genx, kmflag));
79 MP_CHECKOK(mp_init(&group->geny, kmflag));
80 MP_CHECKOK(mp_init(&group->order, kmflag));
221 const ECCurveParams * params, int kmflag)
235 MP_CHECKOK(mp_init(&irr, kmflag));
236 MP_CHECKOK(mp_init(&curvea, kmflag));
237 MP_CHECKOK(mp_init(&curveb, kmflag));
238 MP_CHECKOK(mp_init(&genx, kmflag));
239 MP_CHECKOK(mp_init(&geny, kmflag));
240 MP_CHECKOK(mp_init(&order, kmflag));
346 group->text = kmem_alloc(n, kmflag);
377 ECGroup_fromHex(const ECCurveParams * params, int kmflag)
379 return ecgroup_fromNameAndHex(ECCurve_noName, params, kmflag);
384 ECGroup_fromName(const ECCurveName name, int kmflag)
390 params = EC_GetNamedCurveParams(name, kmflag);
397 group = ecgroup_fromNameAndHex(name, params, kmflag);