Searched refs:FfSqrt (Results 1 – 4 of 4) sorted by relevance
/external/epid-sdk/epid/common/math/unittests/ |
D | ffelement-test.cc | 2895 EXPECT_EQ(kEpidBadArgErr, FfSqrt(nullptr, this->fq_4, r)); in TEST_F() 2896 EXPECT_EQ(kEpidBadArgErr, FfSqrt(this->fq, nullptr, r)); in TEST_F() 2897 EXPECT_EQ(kEpidBadArgErr, FfSqrt(this->fq, this->fq_4, nullptr)); in TEST_F() 2903 EXPECT_EQ(kEpidNoErr, FfSqrt(this->fq, this->fq_1, r)); in TEST_F() 2909 EXPECT_EQ(kEpidMathQuadraticNonResidueError, FfSqrt(this->fq, this->fq_2, r)); in TEST_F() 2914 EXPECT_EQ(kEpidMathQuadraticNonResidueError, FfSqrt(this->fq, this->fq_3, r)); in TEST_F() 2919 EXPECT_EQ(kEpidNoErr, FfSqrt(this->fq, this->fq_4, r)); in TEST_F() 2925 EXPECT_EQ(kEpidMathQuadraticNonResidueError, FfSqrt(this->fq, this->fq_5, r)); in TEST_F() 2941 EXPECT_EQ(kEpidNoErr, FfSqrt(this->epid11_fq, s, r)); in TEST_F() 2957 ASSERT_EQ(kEpidNoErr, FfSqrt(this->fq, s, r)); in TEST_F() [all …]
|
/external/epid-sdk/epid/common/math/ |
D | finitefield.h | 511 EpidStatus FfSqrt(FiniteField* ff, FfElement const* a, FfElement* r);
|
/external/epid-sdk/epid/common/math/src/ |
D | ecgroup.c | 1025 result = FfSqrt(ff, t1, t2); in Epid11EcHash()
|
D | finitefield.c | 1323 EpidStatus FfSqrt(FiniteField* ff, FfElement const* a, FfElement* r) { in FfSqrt() function
|