Class X448Field


  • public abstract class X448Field
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int SIZE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected X448Field()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void add​(int[] x, int[] y, int[] z)  
      static void addOne​(int[] z)  
      static void addOne​(int[] z, int zOff)  
      static void carry​(int[] z)  
      static void cmov​(int cond, int[] x, int xOff, int[] z, int zOff)  
      static void cnegate​(int negate, int[] z)  
      static void copy​(int[] x, int xOff, int[] z, int zOff)  
      static int[] create()  
      static int[] createTable​(int n)  
      static void cswap​(int swap, int[] a, int[] b)  
      static void decode​(byte[] x, int xOff, int[] z)  
      static void decode​(int[] x, int xOff, int[] z)  
      static void encode​(int[] x, byte[] z, int zOff)  
      static void encode​(int[] x, int[] z, int zOff)  
      static void inv​(int[] x, int[] z)  
      static void invVar​(int[] x, int[] z)  
      static int isZero​(int[] x)  
      static boolean isZeroVar​(int[] x)  
      static void mul​(int[] x, int[] y, int[] z)  
      static void mul​(int[] x, int y, int[] z)  
      static void negate​(int[] x, int[] z)  
      static void normalize​(int[] z)  
      static void one​(int[] z)  
      static void sqr​(int[] x, int[] z)  
      static void sqr​(int[] x, int n, int[] z)  
      static boolean sqrtRatioVar​(int[] u, int[] v, int[] z)  
      static void sub​(int[] x, int[] y, int[] z)  
      static void subOne​(int[] z)  
      static void zero​(int[] z)  
      • Methods inherited from class java.lang.Object

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

      • X448Field

        protected X448Field()
    • Method Detail

      • add

        public static void add​(int[] x,
                               int[] y,
                               int[] z)
      • addOne

        public static void addOne​(int[] z)
      • addOne

        public static void addOne​(int[] z,
                                  int zOff)
      • carry

        public static void carry​(int[] z)
      • cmov

        public static void cmov​(int cond,
                                int[] x,
                                int xOff,
                                int[] z,
                                int zOff)
      • cnegate

        public static void cnegate​(int negate,
                                   int[] z)
      • copy

        public static void copy​(int[] x,
                                int xOff,
                                int[] z,
                                int zOff)
      • create

        public static int[] create()
      • createTable

        public static int[] createTable​(int n)
      • cswap

        public static void cswap​(int swap,
                                 int[] a,
                                 int[] b)
      • decode

        public static void decode​(int[] x,
                                  int xOff,
                                  int[] z)
      • decode

        public static void decode​(byte[] x,
                                  int xOff,
                                  int[] z)
      • encode

        public static void encode​(int[] x,
                                  int[] z,
                                  int zOff)
      • encode

        public static void encode​(int[] x,
                                  byte[] z,
                                  int zOff)
      • inv

        public static void inv​(int[] x,
                               int[] z)
      • invVar

        public static void invVar​(int[] x,
                                  int[] z)
      • isZero

        public static int isZero​(int[] x)
      • isZeroVar

        public static boolean isZeroVar​(int[] x)
      • mul

        public static void mul​(int[] x,
                               int y,
                               int[] z)
      • mul

        public static void mul​(int[] x,
                               int[] y,
                               int[] z)
      • negate

        public static void negate​(int[] x,
                                  int[] z)
      • normalize

        public static void normalize​(int[] z)
      • one

        public static void one​(int[] z)
      • sqr

        public static void sqr​(int[] x,
                               int[] z)
      • sqr

        public static void sqr​(int[] x,
                               int n,
                               int[] z)
      • sqrtRatioVar

        public static boolean sqrtRatioVar​(int[] u,
                                           int[] v,
                                           int[] z)
      • sub

        public static void sub​(int[] x,
                               int[] y,
                               int[] z)
      • subOne

        public static void subOne​(int[] z)
      • zero

        public static void zero​(int[] z)