Lines Matching refs:FqElem
37 int FqInField(FqElem const* in) { return (VliCmp(&in->limbs, &epid20_q) < 0); } in FqInField()
39 void FqAdd(FqElem* result, FqElem const* left, FqElem const* right) { in FqAdd()
43 void FqSub(FqElem* result, FqElem const* left, FqElem const* right) { in FqSub()
47 void FqMul(FqElem* result, FqElem const* left, FqElem const* right) { in FqMul()
51 void FqExp(FqElem* result, FqElem const* base, VeryLargeInt const* exp) { in FqExp()
55 void FqCp(FqElem* result, FqElem const* in) { in FqCp()
59 int FqIsZero(FqElem const* value) { return VliIsZero(&value->limbs); } in FqIsZero()
61 void FqInv(FqElem* result, FqElem const* in) { in FqInv()
65 void FqNeg(FqElem* result, FqElem const* in) { in FqNeg()
70 void FqSquare(FqElem* result, FqElem const* in) { in FqSquare()
74 void FqClear(FqElem* result) { VliClear(&result->limbs); } in FqClear()
76 void FqSet(FqElem* result, uint32_t in) { in FqSet()
81 int FqEq(FqElem const* left, FqElem const* right) { in FqEq()
85 void FqCondSet(FqElem* result, FqElem const* true_val, FqElem const* false_val, in FqCondSet()
90 int FqSqrt(FqElem* result, FqElem const* in) { in FqSqrt()
102 int FqRand(FqElem* result, BitSupplier rnd_func, void* rnd_param) { in FqRand()
118 void FqFromHash(FqElem* result, unsigned char const* hash, size_t len) { in FqFromHash()