コード例 #1
0
 public override ECFieldElement Multiply(ECFieldElement b)
 {
     ulong[] z = Nat256.Create64();
     SecT233Field.Multiply(x, ((SecT233FieldElement)b).x, z);
     return(new SecT233FieldElement(z));
 }
コード例 #2
0
 public override ECFieldElement Invert()
 {
     ulong[] z = Nat256.Create64();
     SecT233Field.Invert(x, z);
     return(new SecT233FieldElement(z));
 }
コード例 #3
0
 public SecT233FieldElement()
 {
     x = Nat256.Create64();
 }
コード例 #4
0
 public override ECFieldElement AddOne()
 {
     ulong[] z = Nat256.Create64();
     SecT239Field.AddOne(x, z);
     return(new SecT239FieldElement(z));
 }
コード例 #5
0
 public override ECFieldElement Add(ECFieldElement b)
 {
     ulong[] z = Nat256.Create64();
     SecT239Field.Add(x, ((SecT239FieldElement)b).x, z);
     return(new SecT239FieldElement(z));
 }
コード例 #6
0
 public SecT239FieldElement()
 {
     this.x = Nat256.Create64();
 }
コード例 #7
0
 public override ECFieldElement Square()
 {
     ulong[] z = Nat256.Create64();
     SecT193Field.Square(x, z);
     return(new SecT193FieldElement(z));
 }