Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/tpm2/src/
Dsign.c87 sts = InitFfElementFromBn(Fp, digest_bn, t); in Tpm2Sign()
/external/epid-sdk/epid/common/math/
Dfinitefield.h204 EpidStatus InitFfElementFromBn(FiniteField* ff, BigNum* bn, FfElement* ff_elem);
/external/epid-sdk/epid/common/math/unittests/
Dffelement-test.cc1532 EXPECT_EQ(kEpidBadArgErr, InitFfElementFromBn(this->fq2, bn, ffe)); in TEST_F()
1539 EXPECT_EQ(kEpidBadArgErr, InitFfElementFromBn(nullptr, bn, ffe)); in TEST_F()
1540 EXPECT_EQ(kEpidBadArgErr, InitFfElementFromBn(this->fq, nullptr, ffe)); in TEST_F()
1541 EXPECT_EQ(kEpidBadArgErr, InitFfElementFromBn(this->fq, bn, nullptr)); in TEST_F()
1549 EXPECT_EQ(kEpidNoErr, InitFfElementFromBn(this->fq, qm1_bn, ffe)); in TEST_F()
1560 EXPECT_EQ(kEpidNoErr, InitFfElementFromBn(this->fq, q_bn, ffe)); in TEST_F()
1564 EXPECT_EQ(kEpidNoErr, InitFfElementFromBn(this->fq, qp1_bn, ffe)); in TEST_F()
/external/epid-sdk/epid/common/math/src/
Dfinitefield.c647 EpidStatus InitFfElementFromBn(FiniteField* ff, BigNum* bn, in InitFfElementFromBn() function
1460 result = InitFfElementFromBn(ff, one, one_ffe); in FfSqrt()
1468 result = InitFfElementFromBn(ff, qm1, qm1_ffe); in FfSqrt()
Decgroup.c1009 result = InitFfElementFromBn(ff, t_bn, rx); in Epid11EcHash()
/external/epid-sdk/epid/member/tpm2/unittests/
Dsign-test.cc53 THROW_ON_EPIDERR(InitFfElementFromBn(params.fp, digest_bn, t)); in IsSignatureValid()