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 61
            aload 0 /* this */
            aload 1 /* embeddedCipher */
            invokespecial com.sun.crypto.provider.FeedbackCipher.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;)V
         1: .line 56
            aload 0 /* this */
            aconst_null
            putfield com.sun.crypto.provider.CounterMode.counterSave:[B
         2: .line 57
            aload 0 /* this */
            aconst_null
            putfield com.sun.crypto.provider.CounterMode.encryptedCounterSave:[B
         3: .line 58
            aload 0 /* this */
            iconst_0
            putfield com.sun.crypto.provider.CounterMode.usedSave:I
         4: .line 62
            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 63
            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 64
            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 72
            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 81
            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 82
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
            putfield com.sun.crypto.provider.CounterMode.used:I
         2: .line 83
            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 89
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counterSave:[B
            ifnonnull 3
         1: .line 90
            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 91
            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 93
      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 94
            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 95
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
         6: .line 94
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 96
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.used:I
            putfield com.sun.crypto.provider.CounterMode.usedSave:I
         8: .line 97
            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 103
            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 104
            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 105
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.blockSize:I
         3: .line 104
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 106
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.usedSave:I
            putfield com.sun.crypto.provider.CounterMode.used:I
         5: .line 107
            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 123
            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 124
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "Internal error"
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* iv */
            putfield com.sun.crypto.provider.CounterMode.iv:[B
         3: .line 127
            aload 0 /* this */
            invokevirtual com.sun.crypto.provider.CounterMode.reset:()V
         4: .line 129
            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 130
            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          

  int encrypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    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 149
            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)I
            ireturn
        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    1     0    this  Lcom/sun/crypto/provider/CounterMode;
            0    1     1      in  [B
            0    1     2   inOff  I
            0    1     3     len  I
            0    1     4     out  [B
            0    1     5  outOff  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  

  int decrypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    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)I
            ireturn
        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    1     0    this  Lcom/sun/crypto/provider/CounterMode;
            0    1     1      in  [B
            0    1     2   inOff  I
            0    1     3     len  I
            0    1     4     out  [B
            0    1     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 161
            aload 0 /* b */
            arraylength
            iconst_1
            isub
            istore 1 /* n */
        start local 1 // int n
         1: .line 162
            goto 3
         2: .line 163
      StackMap locals: int
      StackMap stack:
            iinc 1 /* n */ -1
         3: .line 162
      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 165
      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 int crypt(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=7, 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 174
            iload 3 /* len */
            ifne 2
         1: .line 175
            iconst_0
            ireturn
         2: .line 178
      StackMap locals:
      StackMap stack:
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* len */
            invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
         3: .line 179
            aload 4 /* out */
            iload 5 /* outOff */
            iload 3 /* len */
            invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
         4: .line 181
            iload 3 /* len */
            istore 6 /* result */
        start local 6 // int result
         5: .line 182
            goto 11
         6: .line 183
      StackMap locals: int
      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 10
         7: .line 184
            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
         8: .line 185
            aload 0 /* this */
            getfield com.sun.crypto.provider.CounterMode.counter:[B
            invokestatic com.sun.crypto.provider.CounterMode.increment:([B)V
         9: .line 186
            aload 0 /* this */
            iconst_0
            putfield com.sun.crypto.provider.CounterMode.used:I
        10: .line 188
      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
        11: .line 182
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            iinc 3 /* len */ -1
            ifgt 6
        12: .line 190
            iload 6 /* result */
            ireturn
        end local 6 // int result
        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   13     0    this  Lcom/sun/crypto/provider/CounterMode;
            0   13     1      in  [B
            0   13     2   inOff  I
            0   13     3     len  I
            0   13     4     out  [B
            0   13     5  outOff  I
            5   13     6  result  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  
}
SourceFile: "CounterMode.java"