Beispiel #1
0
 public static uint[] FromBigInteger(BigInteger x)
 {
     uint[] numArray = Nat192.FromBigInteger(x);
     if ((numArray[5] == uint.MaxValue) && Nat192.Gte(numArray, P))
     {
         Nat192.SubFrom(P, numArray);
     }
     return(numArray);
 }
 public static uint[] FromBigInteger(BigInteger x)
 {
     uint[] z = Nat192.FromBigInteger(x);
     if (z[5] == P5 && Nat192.Gte(z, P))
     {
         Nat192.SubFrom(P, z);
     }
     return(z);
 }
 public static uint[] FromBigInteger(BigInteger x)
 {
     uint[] array = Nat192.FromBigInteger(x);
     if (array[5] == 4294967295u && Nat192.Gte(array, P))
     {
         Nat192.SubFrom(P, array);
     }
     return(array);
 }
Beispiel #4
0
 public static uint[] FromBigInteger(BigInteger x)
 {
     uint[] array = Nat192.FromBigInteger(x);
     if (array[5] == uint.MaxValue && Nat192.Gte(array, P))
     {
         Nat192.SubFrom(P, array);
     }
     return(array);
 }