final class com.sun.crypto.provider.CounterMode extends com.sun.crypto.provider.FeedbackCipher
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.crypto.provider.CounterMode
  super_class: com.sun.crypto.provider.FeedbackCipher
{
  private final byte[] counter;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] encryptedCounter;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int used;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private byte[] counterSave;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private byte[] encryptedCounterSave;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int usedSave;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  void <init>(com.sun.crypto.provider.SymmetricCipher);
    descriptor: (Lcom/sun/crypto/provider/SymmetricCipher;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.crypto.provider.CounterMode this
        start local 1 // com.sun.crypto.provider.SymmetricCipher embeddedCipher
         0: .line 59
            aload 0 /* this */
            aload 1 /* embeddedCipher */
            invokespecial com.sun.crypto.provider.FeedbackCipher.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;)V
         1: .line 54
            aload 0 /* this */
            aconst_null
            putfield com.sun.crypto.provider.CounterMode.counterSave:[B
         2: .line 55
            aload 0 /* this */
            aconst_null
            putfield com.sun.crypto.provider.CounterMode.encryptedCounterSave:[B
         3: .line 56
            aload 0 /* this */
            iconst_0
            putfield com.sun.crypto.provider.CounterMode.usedSave:I
         4: .line 60
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            newarray 8
            putfield com.sun.crypto.provider.CounterMode.counter:[B
         5: .line 61
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            newarray 8
            putfield com.sun.crypto.provider.CounterMode.encryptedCounter:[B
         6: .line 62
            return
        end local 1 // com.sun.crypto.provider.SymmetricCipher embeddedCipher
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    7     0            this  Lcom/sun/crypto/provider/CounterMode;
            0    7     1  embeddedCipher  Lcom/sun/crypto/provider/SymmetricCipher;
    MethodParameters:
                Name  Flags
      embeddedCipher  

  java.lang.String getFeedback();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.CounterMode this
         0: .line 70
            ldc "CTR"
            areturn
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/crypto/provider/CounterMode;

  void reset();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.CounterMode this
         0: .line 79
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.iv:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         1: .line 80
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            putfield com.sun.crypto.provider.CounterMode.used:I
         2: .line 81
            return
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/crypto/provider/CounterMode;

  void save();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.CounterMode this
         0: .line 87
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counterSave:[B
            ifnonnull 3
         1: .line 88
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            newarray 8
            putfield com.sun.crypto.provider.CounterMode.counterSave:[B
         2: .line 89
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            newarray 8
            putfield com.sun.crypto.provider.CounterMode.encryptedCounterSave:[B
         3: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counterSave:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 92
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounter:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounterSave:[B
            iconst_0
         5: .line 93
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
         6: .line 92
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 94
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.used:I
            putfield com.sun.crypto.provider.CounterMode.usedSave:I
         8: .line 95
            return
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lcom/sun/crypto/provider/CounterMode;

  void restore();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.CounterMode this
         0: .line 101
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counterSave:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         1: .line 102
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounterSave:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounter:[B
            iconst_0
         2: .line 103
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
         3: .line 102
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 104
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.usedSave:I
            putfield com.sun.crypto.provider.CounterMode.used:I
         5: .line 105
            return
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/sun/crypto/provider/CounterMode;

  void init(boolean, java.lang.String, byte[], byte[]);
    descriptor: (ZLjava/lang/String;[B[B)V
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=5
        start local 0 // com.sun.crypto.provider.CounterMode this
        start local 1 // boolean decrypting
        start local 2 // java.lang.String algorithm
        start local 3 // byte[] key
        start local 4 // byte[] iv
         0: .line 121
            aload 3 /* key */
            ifnull 1
            aload 4 /* iv */
            ifnull 1
            aload 4 /* iv */
            arraylength
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            if_icmpeq 2
         1: .line 122
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Internal error"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* iv */
            putfield com.sun.crypto.provider.CounterMode.iv:[B
         3: .line 125
            aload 0 /* this */
            invokevirtual com.sun.crypto.provider.CounterMode.reset:()V
         4: .line 127
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
            iconst_0
            aload 2 /* algorithm */
            aload 3 /* key */
            invokevirtual com.sun.crypto.provider.SymmetricCipher.init:(ZLjava/lang/String;[B)V
         5: .line 128
            return
        end local 4 // byte[] iv
        end local 3 // byte[] key
        end local 2 // java.lang.String algorithm
        end local 1 // boolean decrypting
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lcom/sun/crypto/provider/CounterMode;
            0    6     1  decrypting  Z
            0    6     2   algorithm  Ljava/lang/String;
            0    6     3         key  [B
            0    6     4          iv  [B
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
            Name  Flags
      decrypting  
      algorithm   
      key         
      iv          

  void encrypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)V
    flags: (0x0000) 
    Code:
      stack=6, locals=6, args_size=6
        start local 0 // com.sun.crypto.provider.CounterMode this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int len
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 154
            aload 0 /* this */
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* len */
            aload 4 /* out */
            iload 5 /* outOff */
            invokevirtual com.sun.crypto.provider.CounterMode.crypt:([BII[BI)V
         1: .line 155
            return
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int len
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lcom/sun/crypto/provider/CounterMode;
            0    2     1      in  [B
            0    2     2   inOff  I
            0    2     3     len  I
            0    2     4     out  [B
            0    2     5  outOff  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  

  void decrypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)V
    flags: (0x0000) 
    Code:
      stack=6, locals=6, args_size=6
        start local 0 // com.sun.crypto.provider.CounterMode this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int len
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 181
            aload 0 /* this */
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* len */
            aload 4 /* out */
            iload 5 /* outOff */
            invokevirtual com.sun.crypto.provider.CounterMode.crypt:([BII[BI)V
         1: .line 182
            return
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int len
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lcom/sun/crypto/provider/CounterMode;
            0    2     1      in  [B
            0    2     2   inOff  I
            0    2     3     len  I
            0    2     4     out  [B
            0    2     5  outOff  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  

  private static void increment(byte[]);
    descriptor: ([B)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // byte[] b
         0: .line 188
            aload 0 /* b */
            arraylength
            iconst_1
            isub
            istore 1 /* n */
        start local 1 // int n
         1: .line 189
            goto 3
         2: .line 190
      StackMap locals: int
      StackMap stack:
            iinc 1 /* n */ -1
         3: .line 189
      StackMap locals:
      StackMap stack:
            iload 1 /* n */
            iflt 4
            aload 0 /* b */
            iload 1 /* n */
            dup2
            baload
            iconst_1
            iadd
            i2b
            dup_x2
            bastore
            ifeq 2
         4: .line 192
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int n
        end local 0 // byte[] b
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     b  [B
            1    5     1     n  I
    MethodParameters:
      Name  Flags
      b     

  private void crypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=6, args_size=6
        start local 0 // com.sun.crypto.provider.CounterMode this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int len
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 201
            goto 6
         1: .line 202
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.used:I
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            if_icmplt 5
         2: .line 203
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounter:[B
            iconst_0
            invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
         3: .line 204
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            invokestatic com.sun.crypto.provider.CounterMode.increment:([B)V
         4: .line 205
            aload 0 /* this */
            iconst_0
            putfield com.sun.crypto.provider.CounterMode.used:I
         5: .line 207
      StackMap locals:
      StackMap stack:
            aload 4 /* out */
            iload 5 /* outOff */
            iinc 5 /* outOff */ 1
            aload 1 /* in */
            iload 2 /* inOff */
            iinc 2 /* inOff */ 1
            baload
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.encryptedCounter:[B
            aload 0 /* this */
            dup
            getfield com.sun.crypto.provider.CounterMode.used:I
            dup_x1
            iconst_1
            iadd
            putfield com.sun.crypto.provider.CounterMode.used:I
            baload
            ixor
            i2b
            bastore
         6: .line 201
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            iinc 3 /* len */ -1
            ifgt 1
         7: .line 209
            return
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int len
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // com.sun.crypto.provider.CounterMode this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lcom/sun/crypto/provider/CounterMode;
            0    8     1      in  [B
            0    8     2   inOff  I
            0    8     3     len  I
            0    8     4     out  [B
            0    8     5  outOff  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  
}
SourceFile: "CounterMode.java"