Lines Matching refs:strlen

71 		ret->text = kmem_alloc(strlen(params->text) + 1, kmflag);  in ECCurveParams_dup()
72 bcopy(params->text, ret->text, strlen(params->text) + 1); in ECCurveParams_dup()
81 ret->irr = kmem_alloc(strlen(params->irr) + 1, kmflag); in ECCurveParams_dup()
82 bcopy(params->irr, ret->irr, strlen(params->irr) + 1); in ECCurveParams_dup()
89 ret->curvea = kmem_alloc(strlen(params->curvea) + 1, kmflag); in ECCurveParams_dup()
90 bcopy(params->curvea, ret->curvea, strlen(params->curvea) + 1); in ECCurveParams_dup()
97 ret->curveb = kmem_alloc(strlen(params->curveb) + 1, kmflag); in ECCurveParams_dup()
98 bcopy(params->curveb, ret->curveb, strlen(params->curveb) + 1); in ECCurveParams_dup()
105 ret->genx = kmem_alloc(strlen(params->genx) + 1, kmflag); in ECCurveParams_dup()
106 bcopy(params->genx, ret->genx, strlen(params->genx) + 1); in ECCurveParams_dup()
113 ret->geny = kmem_alloc(strlen(params->geny) + 1, kmflag); in ECCurveParams_dup()
114 bcopy(params->geny, ret->geny, strlen(params->geny) + 1); in ECCurveParams_dup()
121 ret->order = kmem_alloc(strlen(params->order) + 1, kmflag); in ECCurveParams_dup()
122 bcopy(params->order, ret->order, strlen(params->order) + 1); in ECCurveParams_dup()
159 kmem_free(params->text, strlen(params->text) + 1); in EC_FreeCurveParams()
165 kmem_free(params->irr, strlen(params->irr) + 1); in EC_FreeCurveParams()
171 kmem_free(params->curvea, strlen(params->curvea) + 1); in EC_FreeCurveParams()
177 kmem_free(params->curveb, strlen(params->curveb) + 1); in EC_FreeCurveParams()
183 kmem_free(params->genx, strlen(params->genx) + 1); in EC_FreeCurveParams()
189 kmem_free(params->geny, strlen(params->geny) + 1); in EC_FreeCurveParams()
195 kmem_free(params->order, strlen(params->order) + 1); in EC_FreeCurveParams()