Searched refs:epid20_q (Results 1 – 2 of 2) sorted by relevance
/external/epid-sdk/epid/member/tiny/math/src/ |
D | fq.c | 33 static VeryLargeInt const epid20_q = {{0xAED33013, 0xD3292DDB, 0x12980A82, variable 37 int FqInField(FqElem const* in) { return (VliCmp(&in->limbs, &epid20_q) < 0); } in FqInField() 40 VliModAdd(&result->limbs, &left->limbs, &right->limbs, &epid20_q); in FqAdd() 44 VliModSub(&result->limbs, &left->limbs, &right->limbs, &epid20_q); in FqSub() 48 VliModMul(&result->limbs, &left->limbs, &right->limbs, &epid20_q); in FqMul() 52 VliModExp(&result->limbs, &base->limbs, exp, &epid20_q); in FqExp() 62 VliModInv(&result->limbs, &in->limbs, &epid20_q); in FqInv() 66 VliCondSet(&result->limbs, &epid20_q, &in->limbs, VliIsZero(&in->limbs)); in FqNeg() 67 VliSub(&result->limbs, &epid20_q, &result->limbs); in FqNeg() 71 VliModSquare(&result->limbs, &in->limbs, &epid20_q); in FqSquare() [all …]
|
/external/epid-sdk/epid/common/math/unittests/ |
D | printutils-test.cc | 47 static const BigNumStr epid20_q; member in __anon3f9514740111::PrintutilsTest 84 q = BigNumObj(epid20_q); in SetUp() 97 fq = FiniteFieldObj(epid20_q); in ConstructFiniteFields() 162 const BigNumStr PrintutilsTest::epid20_q = { member in __anon3f9514740111::PrintutilsTest 309 PrintBigNumStr(&epid20_q, "q_str"); in TEST_F()
|