Class GCMUtil


  • public abstract class GCMUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GCMUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void asBytes​(int[] x, byte[] z)  
      static int[] asInts​(byte[] x)  
      static void asInts​(byte[] x, int[] z)  
      static void multiply​(byte[] x, byte[] y)  
      static void multiply​(int[] x, int[] y)  
      static void multiplyP​(int[] x, int[] z)  
      static void multiplyP8​(int[] x, int[] y)  
      static int[] oneAsInts()  
      static void xor​(byte[] x, byte[] y)  
      static void xor​(byte[] x, byte[] y, int yOff, int yLen)  
      static void xor​(int[] x, int[] y, int[] z)  
      • Methods inherited from class java.lang.Object

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

      • GCMUtil

        public GCMUtil()
    • Method Detail

      • oneAsInts

        public static int[] oneAsInts()
      • asBytes

        public static void asBytes​(int[] x,
                                   byte[] z)
      • asInts

        public static int[] asInts​(byte[] x)
      • asInts

        public static void asInts​(byte[] x,
                                  int[] z)
      • multiply

        public static void multiply​(byte[] x,
                                    byte[] y)
      • multiply

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

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

        public static void multiplyP8​(int[] x,
                                      int[] y)
      • xor

        public static void xor​(byte[] x,
                               byte[] y)
      • xor

        public static void xor​(byte[] x,
                               byte[] y,
                               int yOff,
                               int yLen)
      • xor

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