コード例 #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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public static uint[] FromBigInteger(BigInteger x)
 {
     uint[] z = Nat192.FromBigInteger(x);
     if (z[5] == P5 && Nat192.Gte(z, P))
     {
         Nat192.AddDWord(PInv, z, 0);
     }
     return(z);
 }
コード例 #4
0
 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);
 }
コード例 #5
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);
 }