public override ECFieldElement Multiply(ECFieldElement b)
 {
     ulong[] z = Nat256.Create64();
     SecT233Field.Multiply(x, ((SecT233FieldElement)b).x, z);
     return(new SecT233FieldElement(z));
 }
 public override ECFieldElement Invert()
 {
     ulong[] z = Nat256.Create64();
     SecT233Field.Invert(x, z);
     return(new SecT233FieldElement(z));
 }
 public SecT233FieldElement()
 {
     x = Nat256.Create64();
 }
Esempio n. 4
0
 public override ECFieldElement AddOne()
 {
     ulong[] z = Nat256.Create64();
     SecT239Field.AddOne(x, z);
     return(new SecT239FieldElement(z));
 }
Esempio n. 5
0
 public override ECFieldElement Add(ECFieldElement b)
 {
     ulong[] z = Nat256.Create64();
     SecT239Field.Add(x, ((SecT239FieldElement)b).x, z);
     return(new SecT239FieldElement(z));
 }
Esempio n. 6
0
 public SecT239FieldElement()
 {
     this.x = Nat256.Create64();
 }
Esempio n. 7
0
 public override ECFieldElement Square()
 {
     ulong[] z = Nat256.Create64();
     SecT193Field.Square(x, z);
     return(new SecT193FieldElement(z));
 }