Lines Matching refs:FieldElement
35 using crypto::p224::FieldElement;
38 const FieldElement kP = {
43 void Contract(FieldElement* inout);
46 uint32_t IsZero(const FieldElement& a) { in IsZero()
47 FieldElement minimal; in IsZero()
80 void Add(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Add()
92 static const FieldElement kZero31ModP = {
101 void Subtract(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Subtract()
128 void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { in ReduceLarge()
173 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Mul()
190 void Square(FieldElement* out, const FieldElement& a) { in Square()
212 void Reduce(FieldElement* in_out) { in Reduce()
213 FieldElement& a = *in_out; in Reduce()
245 void Invert(FieldElement* out, const FieldElement& in) { in Invert()
246 FieldElement f1, f2, f3, f4; in Invert()
297 void Contract(FieldElement* inout) { in Contract()
298 FieldElement& out = *inout; in Contract()
423 const FieldElement kB = {
436 FieldElement z1z1, z2z2, u1, u2, s1, s2, h, i, j, r, v; in AddJacobian()
532 FieldElement delta, gamma, beta, alpha, t; in DoubleJacobian()
661 FieldElement lhs; in SetFromString()
665 FieldElement rhs; in SetFromString()
669 FieldElement three_x; in SetFromString()
683 FieldElement zinv, zinv_sq, xx, yy; in ToString()
731 FieldElement zinv, zinv_sq, y; in Negate()