Class SecT571Field


  • public class SecT571Field
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SecT571Field()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void add​(long[] x, long[] y, long[] z)  
      static void addBothTo​(long[] x, long[] y, long[] z)  
      static void addExt​(long[] xx, long[] yy, long[] zz)  
      static void addOne​(long[] x, long[] z)  
      static long[] fromBigInteger​(java.math.BigInteger x)  
      static void halfTrace​(long[] x, long[] z)  
      protected static void implMultiply​(long[] x, long[] y, long[] zz)  
      protected static void implMultiplyPrecomp​(long[] x, long[] precomp, long[] zz)  
      protected static void implMulwAcc​(long[] u, long x, long y, long[] z, int zOff)  
      protected static void implSquare​(long[] x, long[] zz)  
      static void invert​(long[] x, long[] z)  
      static void multiply​(long[] x, long[] y, long[] z)  
      static void multiplyAddToExt​(long[] x, long[] y, long[] zz)  
      static void multiplyPrecomp​(long[] x, long[] precomp, long[] z)  
      static void multiplyPrecompAddToExt​(long[] x, long[] precomp, long[] zz)  
      static long[] precompMultiplicand​(long[] x)  
      static void reduce​(long[] xx, long[] z)  
      static void reduce5​(long[] z, int zOff)  
      static void sqrt​(long[] x, long[] z)  
      static void square​(long[] x, long[] z)  
      static void squareAddToExt​(long[] x, long[] zz)  
      static void squareN​(long[] x, int n, long[] z)  
      static int trace​(long[] x)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecT571Field

        public SecT571Field()
    • Method Detail

      • add

        public static void add​(long[] x,
                               long[] y,
                               long[] z)
      • addBothTo

        public static void addBothTo​(long[] x,
                                     long[] y,
                                     long[] z)
      • addExt

        public static void addExt​(long[] xx,
                                  long[] yy,
                                  long[] zz)
      • addOne

        public static void addOne​(long[] x,
                                  long[] z)
      • fromBigInteger

        public static long[] fromBigInteger​(java.math.BigInteger x)
      • halfTrace

        public static void halfTrace​(long[] x,
                                     long[] z)
      • invert

        public static void invert​(long[] x,
                                  long[] z)
      • multiply

        public static void multiply​(long[] x,
                                    long[] y,
                                    long[] z)
      • multiplyAddToExt

        public static void multiplyAddToExt​(long[] x,
                                            long[] y,
                                            long[] zz)
      • multiplyPrecomp

        public static void multiplyPrecomp​(long[] x,
                                           long[] precomp,
                                           long[] z)
      • multiplyPrecompAddToExt

        public static void multiplyPrecompAddToExt​(long[] x,
                                                   long[] precomp,
                                                   long[] zz)
      • precompMultiplicand

        public static long[] precompMultiplicand​(long[] x)
      • reduce

        public static void reduce​(long[] xx,
                                  long[] z)
      • reduce5

        public static void reduce5​(long[] z,
                                   int zOff)
      • sqrt

        public static void sqrt​(long[] x,
                                long[] z)
      • square

        public static void square​(long[] x,
                                  long[] z)
      • squareAddToExt

        public static void squareAddToExt​(long[] x,
                                          long[] zz)
      • squareN

        public static void squareN​(long[] x,
                                   int n,
                                   long[] z)
      • trace

        public static int trace​(long[] x)
      • implMultiply

        protected static void implMultiply​(long[] x,
                                           long[] y,
                                           long[] zz)
      • implMultiplyPrecomp

        protected static void implMultiplyPrecomp​(long[] x,
                                                  long[] precomp,
                                                  long[] zz)
      • implMulwAcc

        protected static void implMulwAcc​(long[] u,
                                          long x,
                                          long y,
                                          long[] z,
                                          int zOff)
      • implSquare

        protected static void implSquare​(long[] x,
                                         long[] zz)