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