Lines Matching refs:FieldElement
49 using crypto::p224::FieldElement;
52 const FieldElement kP = {
57 void Contract(FieldElement* inout);
60 uint32_t IsZero(const FieldElement& a) { in IsZero()
61 FieldElement minimal; in IsZero()
94 void Add(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Add()
106 static const FieldElement kZero31ModP = {
115 void Subtract(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Subtract()
151 void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { in ReduceLarge()
202 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Mul()
219 void Square(FieldElement* out, const FieldElement& a) { in Square()
241 void Reduce(FieldElement* in_out) { in Reduce()
242 FieldElement& a = *in_out; in Reduce()
274 void Invert(FieldElement* out, const FieldElement& in) { in Invert()
275 FieldElement f1, f2, f3, f4; in Invert()
326 void Contract(FieldElement* inout) { in Contract()
327 FieldElement& out = *inout; in Contract()
452 const FieldElement kB = {
465 FieldElement z1z1, z2z2, u1, u2, s1, s2, h, i, j, r, v; in AddJacobian()
561 FieldElement delta, gamma, beta, alpha, t; in DoubleJacobian()
690 FieldElement lhs; in SetFromString()
694 FieldElement rhs; in SetFromString()
698 FieldElement three_x; in SetFromString()
712 FieldElement zinv, zinv_sq, xx, yy; in ToString()
760 FieldElement zinv, zinv_sq, y; in Negate()