/external/epid-sdk/epid/common/math/src/ |
D | tatepairing.c | 181 result = FfMul(pairing_state_ctx->Fq, inv_qnr, inv_qnr, inv_qnr); in NewEpid11PairingState() 255 FfMul(pairing_state_ctx->Fq3, pairing_state_ctx->alpha_q[1], in NewEpid11PairingState() 375 result = FfMul(ps->Fq3, ps->fq3_inv_constant, b0, b0); in Epid11Pairing() 383 result = FfMul(ps->Fq3, ps->fq3_inv2_constant, b1, b1); in Epid11Pairing() 467 result = FfMul(ps->Fq, Z, Z, ty); // ty = Z^2 in Epid11Pairing() 469 result = FfMul(ps->Fq, ty, ty, t1); // t1 = Z^4 in Epid11Pairing() 471 result = FfMul(ps->Fq, t1, ps->a, t1); // t1 = a*Z^4 in Epid11Pairing() 473 result = FfMul(ps->Fq, X, X, w); // w = X^2 in Epid11Pairing() 482 result = FfMul(ps->Fq, Y, Y, t1); // t1 = Y^2 in Epid11Pairing() 486 result = FfMul(ps->Fq, t3, X, v); // v = 2 * X * Y^2 in Epid11Pairing() [all …]
|
D | finitefield.c | 843 EpidStatus FfMul(FiniteField* ff, FfElement const* a, FfElement const* b, in FfMul() function 1560 result = FfMul(ff, a, ge, h); in FfSqrt() 1590 result = FfMul(ff, a, ge, h); in FfSqrt() 1616 result = FfMul(ff, ged2, gtp1d2, r); in FfSqrt() 1622 result = FfMul(ff, r, r, dd); in FfSqrt()
|
D | ecgroup.c | 1013 result = FfMul(ff, rx, rx, t1); in Epid11EcHash() 1015 result = FfMul(ff, t1, rx, t1); in Epid11EcHash() 1017 result = FfMul(ff, a, rx, t2); in Epid11EcHash()
|
/external/epid-sdk/epid/common-testhelper/1.1/ |
D | epid_params-testhelper.cc | 84 THROW_ON_EPIDERR(FfMul(fq, twista_fq, qnr, twista_fq)); in Epid11ParamsObj() 85 THROW_ON_EPIDERR(FfMul(fq, twista_fq, qnr, twista_fq)); in Epid11ParamsObj() 92 THROW_ON_EPIDERR(FfMul(fq, twistb_fq, qnr, twistb_fq)); in Epid11ParamsObj() 93 THROW_ON_EPIDERR(FfMul(fq, twistb_fq, qnr, twistb_fq)); in Epid11ParamsObj() 94 THROW_ON_EPIDERR(FfMul(fq, twistb_fq, qnr, twistb_fq)); in Epid11ParamsObj()
|
/external/epid-sdk/epid/common/math/unittests/ |
D | ffelement-test.cc | 1749 FfMul(nullptr, this->fq_a, this->fq_b, this->fq_result)); in TEST_F() 1751 FfMul(this->fq, nullptr, this->fq_b, this->fq_result)); in TEST_F() 1753 FfMul(this->fq, this->fq_a, nullptr, this->fq_result)); in TEST_F() 1754 EXPECT_EQ(kEpidBadArgErr, FfMul(this->fq, this->fq_a, this->fq_b, nullptr)); in TEST_F() 1759 FfMul(this->fq12, this->fq_a, this->fq_b, this->fq_result)); in TEST_F() 1761 FfMul(this->fq, this->fq12_g, this->fq_b, this->fq_result)); in TEST_F() 1763 FfMul(this->fq, this->fq_a, this->fq12_h, this->fq_result)); in TEST_F() 1765 FfMul(this->fq, this->fq_a, this->fq_b, this->fq12_result)); in TEST_F() 1767 FfMul(this->fq2, this->fq_a, this->fq2_a, this->fq2_result)); in TEST_F() 1774 FfMul(this->fq, this->fq_0, this->fq_b, this->fq_result)); in TEST_F() [all …]
|
D | printutils-test.cc | 149 THROW_ON_EPIDERR(FfMul(fq2, inv_xi.get(), FfElementObj(&fq, b1), b_dash)); in ConstructEllipticCurveGroups()
|
D | ecgroup-test.cc | 113 THROW_ON_EPIDERR(FfMul(fq2, neg_xi.get(), FfElementObj(fq, param_b), b)); in EFq2Params()
|
/external/epid-sdk/epid/member/src/ |
D | signbasic.c | 203 sts = FfMul(Fp, a, rx, t2); in EpidSignBasic() 272 sts = FfMul(Fp, c, x, t3); in EpidSignBasic() 286 sts = FfMul(Fp, c, a, t3); in EpidSignBasic() 294 sts = FfMul(Fp, c, b, t3); in EpidSignBasic()
|
D | presig.c | 224 sts = FfMul(Fp, a, rx, t2); in MemberComputePreSig() 232 sts = FfMul(Fp, a, x, a); in MemberComputePreSig()
|
D | nrprove.c | 238 sts = FfMul(Fp, c, mu, t2); in EpidNrProve() 246 sts = FfMul(Fp, c, nu, t2); in EpidNrProve()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | epid11params.c | 409 result = FfMul(Fq, fq_twista, qnr, fq_twista); in NewG2() 411 result = FfMul(Fq, fq_twista, qnr, fq_twista); in NewG2() 426 result = FfMul(Fq, fq_twistb, qnr, fq_twistb); in NewG2() 428 result = FfMul(Fq, fq_twistb, qnr, fq_twistb); in NewG2() 430 result = FfMul(Fq, fq_twistb, qnr, fq_twistb); in NewG2()
|
/external/epid-sdk/epid/member/tpm2/unittests/ |
D | sign-simulator-test.cc | 64 THROW_ON_EPIDERR(FfMul(params.fp, f, t, s_expected)); in TEST_F()
|
/external/epid-sdk/epid/common-testhelper/ |
D | epid_params-testhelper.cc | 96 THROW_ON_EPIDERR(FfMul(fq2, inv_xi.get(), FfElementObj(&fq, b_str_), b_dash)); in Epid20Params()
|
/external/epid-sdk/epid/member/tpm2/src/ |
D | sign.c | 90 sts = FfMul(Fp, ctx->f, t, s); in Tpm2Sign()
|
/external/epid-sdk/epid/common/math/ |
D | finitefield.h | 311 EpidStatus FfMul(FiniteField* ff, FfElement const* a, FfElement const* b,
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | verifybasic.c | 345 res = FfMul(GT, R4, t3, R4); in Epid11VerifyBasicSig() 364 res = FfMul(GT, R4, t3, R4); in Epid11VerifyBasicSig()
|
/external/epid-sdk/epid/verifier/src/ |
D | verifybasic.c | 271 res = FfMul(GT, R2, t2, R2); in EpidVerifyBasicSig()
|
/external/epid-sdk/epid/common/src/ |
D | epid2params.c | 453 result = FfMul(Fq2, b, fq_param_b, b); // ??? overflow fq2*fq in NewG2()
|