Home
last modified time | relevance | path

Searched refs:FfAdd (Results 1 – 10 of 10) sorted by relevance

/external/epid-sdk/epid/member/src/
Dsignbasic.c207 sts = FfAdd(Fp, rb, t2, t2); in EpidSignBasic()
274 sts = FfAdd(Fp, rx, t3, t3); in EpidSignBasic()
288 sts = FfAdd(Fp, ra, t3, t3); in EpidSignBasic()
296 sts = FfAdd(Fp, rb, t3, t3); in EpidSignBasic()
Dnrprove.c240 sts = FfAdd(Fp, rmu, t2, t2); in EpidNrProve()
Dpresig.c228 sts = FfAdd(Fp, rb, t2, t2); in MemberComputePreSig()
/external/epid-sdk/epid/common/math/src/
Dtatepairing.c475 result = FfAdd(ps->Fq, w, w, t2); // t2 = 2 * X^2 in Epid11Pairing()
477 result = FfAdd(ps->Fq, w, t2, w); // w = 3 * X^2 in Epid11Pairing()
479 result = FfAdd(ps->Fq, w, t1, w); // w = 3 * X^2 + a * Z^4 in Epid11Pairing()
484 result = FfAdd(ps->Fq, t1, t1, t3); // t3 = 2* Y^2 in Epid11Pairing()
488 result = FfAdd(ps->Fq, v, v, v); // v = 4 * X * Y^2 in Epid11Pairing()
500 result = FfAdd(ps->Fq, t3, t3, t3); // t3 = 8 * Y^4 in Epid11Pairing()
511 result = FfAdd(ps->Fq, Z2, Z2, Z2); // Z2 = 2 * Y * Z in Epid11Pairing()
537 result = FfAdd(ps->ff, tx, tt2, in Epid11Pairing()
914 result = FfAdd(ps->Fq3, tmp, b, b); in Transform()
Decgroup.c1019 result = FfAdd(ff, t1, t2, t1); in Epid11EcHash()
1021 result = FfAdd(ff, t1, b, t1); in Epid11EcHash()
Dfinitefield.c796 EpidStatus FfAdd(FiniteField* ff, FfElement const* a, FfElement const* b, in FfAdd() function
1485 result = FfAdd(ff, g, one_ffe, g); in FfSqrt()
/external/epid-sdk/epid/common/math/unittests/
Dffelement-test.cc1925 FfAdd(this->fq12, this->fq_a, this->fq_b, this->fq_result)); in TEST_F()
1927 FfAdd(this->fq, this->fq12_g, this->fq_b, this->fq_result)); in TEST_F()
1929 FfAdd(this->fq, this->fq_a, this->fq12_h, this->fq_result)); in TEST_F()
1931 FfAdd(this->fq, this->fq_a, this->fq_b, this->fq12_result)); in TEST_F()
1936 FfAdd(nullptr, this->fq_a, this->fq_b, this->fq_result)); in TEST_F()
1938 FfAdd(this->fq, nullptr, this->fq_b, this->fq_result)); in TEST_F()
1940 FfAdd(this->fq, this->fq_a, nullptr, this->fq_result)); in TEST_F()
1941 EXPECT_EQ(kEpidBadArgErr, FfAdd(this->fq, this->fq_a, this->fq_b, nullptr)); in TEST_F()
1949 FfAdd(this->fq, this->fq_a, this->fq_0, this->fq_result)); in TEST_F()
1955 FfAdd(this->fq, this->fq_0, this->fq_b, this->fq_result)); in TEST_F()
[all …]
/external/epid-sdk/epid/member/tpm2/unittests/
Dsign-simulator-test.cc65 THROW_ON_EPIDERR(FfAdd(params.fp, r1, s_expected, s_expected)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/src/
Dsign.c92 sts = FfAdd(Fp, commit_nonce, s, s); in Tpm2Sign()
/external/epid-sdk/epid/common/math/
Dfinitefield.h272 EpidStatus FfAdd(FiniteField* ff, FfElement const* a, FfElement const* b,