Lines Matching refs:kmflag
50 ECCurveParams_dup(const ECCurveParams * params, int kmflag)
56 ret = (ECCurveParams *) kmem_zalloc(sizeof(ECCurveParams), kmflag);
62 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag);
72 ret->irr = kmem_alloc(strlen(params->irr) + 1, kmflag);
80 ret->curvea = kmem_alloc(strlen(params->curvea) + 1, kmflag);
88 ret->curveb = kmem_alloc(strlen(params->curveb) + 1, kmflag);
96 ret->genx = kmem_alloc(strlen(params->genx) + 1, kmflag);
104 ret->geny = kmem_alloc(strlen(params->geny) + 1, kmflag);
112 ret->order = kmem_alloc(strlen(params->order) + 1, kmflag);
132 EC_GetNamedCurveParams(const ECCurveName name, int kmflag)
138 return ECCurveParams_dup(ecCurve_map[name], kmflag);