Class SecP521R1Field


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

      Constructors 
      Constructor Description
      SecP521R1Field()  
    • 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[] x, int[] z)  
      static int[] fromBigInteger​(java.math.BigInteger x)  
      static void half​(int[] x, int[] z)  
      protected static void implMultiply​(int[] x, int[] y, int[] zz)  
      protected static void implSquare​(int[] x, int[] zz)  
      static void inv​(int[] x, int[] z)  
      static int isZero​(int[] x)  
      static void multiply​(int[] x, int[] y, int[] z)  
      static void negate​(int[] x, int[] z)  
      static void random​(java.security.SecureRandom r, int[] z)  
      static void randomMult​(java.security.SecureRandom r, int[] z)  
      static void reduce​(int[] xx, int[] z)  
      static void reduce23​(int[] z)  
      static void square​(int[] x, int[] z)  
      static void squareN​(int[] x, int n, int[] z)  
      static void subtract​(int[] x, int[] y, int[] z)  
      static void twice​(int[] x, int[] z)  
      • Methods inherited from class java.lang.Object

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

      • SecP521R1Field

        public SecP521R1Field()
    • Method Detail

      • add

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

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

        public static int[] fromBigInteger​(java.math.BigInteger x)
      • half

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

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

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

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

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

        public static void random​(java.security.SecureRandom r,
                                  int[] z)
      • randomMult

        public static void randomMult​(java.security.SecureRandom r,
                                      int[] z)
      • reduce

        public static void reduce​(int[] xx,
                                  int[] z)
      • reduce23

        public static void reduce23​(int[] z)
      • square

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

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

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

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

        protected static void implMultiply​(int[] x,
                                           int[] y,
                                           int[] zz)
      • implSquare

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