Example #1
0
 public override ECFieldElement Subtract(ECFieldElement b)
 {
     uint[] z = Nat.Create(17);
     SecP521R1Field.Subtract(x, ((SecP521R1FieldElement)b).x, z);
     return(new SecP521R1FieldElement(z));
 }
Example #2
0
 public override ECFieldElement Multiply(ECFieldElement b)
 {
     uint[] z = Nat.Create(17);
     SecP521R1Field.Multiply(x, ((SecP521R1FieldElement)b).x, z);
     return(new SecP521R1FieldElement(z));
 }
Example #3
0
 public override ECFieldElement AddOne()
 {
     uint[] z = Nat.Create(17);
     SecP521R1Field.AddOne(x, z);
     return(new SecP521R1FieldElement(z));
 }