Home
last modified time | relevance | path

Searched refs:neg_xi (Results 1 – 6 of 6) sorted by relevance

/external/epid-sdk/epid/common-testhelper/
Depid_params-testhelper.cc53 FfElementObj neg_xi(&fq2); in Epid20Params() local
54 THROW_ON_EPIDERR(FfNeg(fq2, FfElementObj(&fq2, xi_str_), neg_xi)); in Epid20Params()
55 fq6 = FiniteFieldObj(fq2, neg_xi, 3); in Epid20Params()
/external/epid-sdk/epid/common/math/unittests/
Dfinitefield-test.cc182 FfElementObj neg_xi(&fq2); in TEST() local
183 THROW_ON_EPIDERR(FfNeg(fq2, FfElementObj(&fq2, xi), neg_xi)); in TEST()
184 FiniteFieldObj fq6(fq2, neg_xi, 3); in TEST()
Dprintutils-test.cc107 FfElementObj neg_xi(&fq2); in ConstructFiniteFields() local
108 THROW_ON_EPIDERR(FfNeg(fq2, FfElementObj(&fq2, xi_str), neg_xi)); in ConstructFiniteFields()
109 fq6 = FiniteFieldObj(fq2, neg_xi, 3); in ConstructFiniteFields()
Dffelement-test.cc100 FfElementObj neg_xi(&fq2); in SetUp() local
101 THROW_ON_EPIDERR(FfNeg(fq2, FfElementObj(&fq2, this->fq2_2_1_str), neg_xi)); in SetUp()
102 fq6 = FiniteFieldObj(fq2, neg_xi, 3); in SetUp()
Decgroup-test.cc110 FfElementObj neg_xi(&fq2); in EFq2Params() local
111 THROW_ON_EPIDERR(FfInv(fq2, FfElementObj(&fq2, param_xi0xi1), neg_xi)); in EFq2Params()
113 THROW_ON_EPIDERR(FfMul(fq2, neg_xi.get(), FfElementObj(fq, param_b), b)); in EFq2Params()
/external/epid-sdk/epid/common/src/
Depid2params.c298 FfElement* neg_xi = NULL; in NewFq6() local
303 result = NewFfElement(Fq2, &neg_xi); in NewFq6()
307 result = FfNeg(Fq2, xi, neg_xi); in NewFq6()
311 result = NewFiniteFieldViaBinomalExtension(Fq2, neg_xi, 3, &Ff); in NewFq6()
319 DeleteFfElement(&neg_xi); in NewFq6()