Lines Matching refs:Fqd
36 FiniteField** Fqd);
39 EpidStatus NewFqk(Epid11Params const* params, FiniteField* Fq, FiniteField* Fqd,
48 FiniteField* Fqd, EcGroup** G2);
95 result = NewFqd(¶ms_str, _params->Fq, &_params->Fqd); in CreateEpid11Params()
102 result = NewG2(¶ms_str, _params->Fq, _params->Fqd, &_params->G2); in CreateEpid11Params()
108 result = NewFqk(¶ms_str, _params->Fq, _params->Fqd, &_params->GT); in CreateEpid11Params()
152 DeleteFiniteField(&_params->Fqd); in CreateEpid11Params()
177 DeleteFiniteField(&(*params)->Fqd); in DeleteEpid11Params()
189 FiniteField** Fqd) { in NewFqd() argument
190 if (!params || !Fq || !Fqd) return kEpidBadArgErr; in NewFqd()
192 return NewFiniteFieldViaPolynomialExtension(Fq, params->coeff, 3, Fqd); in NewFqd()
195 EpidStatus NewFqk(Epid11Params const* params, FiniteField* Fq, FiniteField* Fqd, in NewFqk() argument
203 if (!params || !Fq || !Fqd || !Fqk) return kEpidBadArgErr; in NewFqk()
222 result = NewFfElement(Fqd, &ground_element); in NewFqk()
225 result = ReadFfElement(Fqd, &(ground_element_str), in NewFqk()
229 result = NewFiniteFieldViaBinomalExtension(Fqd, ground_element, 2, Fqk); in NewFqk()
369 EpidStatus NewG2(Epid11Params const* params, FiniteField* Fq, FiniteField* Fqd, in NewG2() argument
384 if (!params || !Fq || !Fqd || !G2) return kEpidBadArgErr; in NewG2()
390 result = NewFfElement(Fqd, &g2_x); in NewG2()
392 result = ReadFfElement(Fqd, ¶ms->g2.x, sizeof(params->g2.x), g2_x); in NewG2()
395 result = NewFfElement(Fqd, &g2_y); in NewG2()
397 result = ReadFfElement(Fqd, ¶ms->g2.y, sizeof(params->g2.y), g2_y); in NewG2()
417 result = NewFfElement(Fqd, &fqd_twista); in NewG2()
419 result = ReadFfElement(Fqd, &tmp_Fq3_str, sizeof(tmp_Fq3_str), fqd_twista); in NewG2()
436 result = NewFfElement(Fqd, &fqd_twistb); in NewG2()
438 result = ReadFfElement(Fqd, &tmp_Fq3_str, sizeof(tmp_Fq3_str), fqd_twistb); in NewG2()
452 result = NewEcGroup(Fqd, fqd_twista, fqd_twistb, g2_x, g2_y, order, h, &ec); in NewG2()