final class com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec implements com.sun.crypto.provider.ChaCha20Cipher$ChaChaEngine
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec
  super_class: java.lang.Object
{
  private final java.io.ByteArrayOutputStream cipherBuf;
    descriptor: Ljava/io/ByteArrayOutputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  final com.sun.crypto.provider.ChaCha20Cipher this$0;
    descriptor: Lcom/sun/crypto/provider/ChaCha20Cipher;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private void <init>(com.sun.crypto.provider.ChaCha20Cipher);
    descriptor: (Lcom/sun/crypto/provider/ChaCha20Cipher;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
         0: .line 1297
            aload 0 /* this */
            aload 1
            putfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1298
            aload 1
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher.initAuthenticator:()V
         2: .line 1299
            aload 1
            lconst_1
            putfield com.sun.crypto.provider.ChaCha20Cipher.counter:J
         3: .line 1300
            aload 0 /* this */
            new java.io.ByteArrayOutputStream
            dup
            sipush 1024
            invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
            putfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.cipherBuf:Ljava/io/ByteArrayOutputStream;
         4: .line 1301
            aload 0 /* this */
            bipush 16
            newarray 8
            putfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.tag:[B
         5: .line 1302
            return
        end local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/sun/crypto/provider/ChaCha20Cipher$EngineAEADDec;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
        Name  Flags
      this$0  final

  public int doUpdate(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=6
        start local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int inLen
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 1307
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            getfield com.sun.crypto.provider.ChaCha20Cipher.initialized:Z
            ifeq 8
         1: .line 1311
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            getfield com.sun.crypto.provider.ChaCha20Cipher.aadDone:Z
            ifne 4
         2: .line 1312
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            getfield com.sun.crypto.provider.ChaCha20Cipher.aadLen:J
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher.authPad16:(J)V
         3: .line 1313
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            iconst_1
            putfield com.sun.crypto.provider.ChaCha20Cipher.aadDone:Z
         4: .line 1316
      StackMap locals:
      StackMap stack:
            aload 1 /* in */
            ifnull 11
         5: .line 1317
            iload 2 /* inOff */
            iload 3 /* inLen */
            aload 1 /* in */
            arraylength
            invokestatic java.util.Objects.checkFromIndexSize:(III)I
            pop
         6: .line 1318
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.cipherBuf:Ljava/io/ByteArrayOutputStream;
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* inLen */
            invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
         7: .line 1320
            goto 11
         8: .line 1321
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
         9: .line 1322
            ldc "Must use either a different key or iv."
        10: .line 1321
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 1325
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int inLen
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Lcom/sun/crypto/provider/ChaCha20Cipher$EngineAEADDec;
            0   12     1      in  [B
            0   12     2   inOff  I
            0   12     3   inLen  I
            0   12     4     out  [B
            0   12     5  outOff  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      inLen   
      out     
      outOff  

  public int doFinal(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=11, args_size=6
        start local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int inLen
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 1335
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.cipherBuf:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.size:()I
            ifne 5
            iload 2 /* inOff */
            ifne 5
         1: .line 1339
            aload 0 /* this */
            aconst_null
            iload 2 /* inOff */
            iload 3 /* inLen */
            aload 4 /* out */
            iload 5 /* outOff */
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.doUpdate:([BII[BI)I
            pop
         2: .line 1340
            aload 1 /* in */
            astore 6 /* ctPlusTag */
        start local 6 // byte[] ctPlusTag
         3: .line 1341
            iload 3 /* inLen */
            istore 7 /* ctPlusTagLen */
        start local 7 // int ctPlusTagLen
         4: .line 1342
            goto 8
        end local 7 // int ctPlusTagLen
        end local 6 // byte[] ctPlusTag
         5: .line 1343
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* in */
            iload 2 /* inOff */
            iload 3 /* inLen */
            aload 4 /* out */
            iload 5 /* outOff */
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.doUpdate:([BII[BI)I
            pop
         6: .line 1344
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.cipherBuf:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            astore 6 /* ctPlusTag */
        start local 6 // byte[] ctPlusTag
         7: .line 1345
            aload 6 /* ctPlusTag */
            arraylength
            istore 7 /* ctPlusTagLen */
        start local 7 // int ctPlusTagLen
         8: .line 1347
      StackMap locals: byte[] int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.cipherBuf:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.reset:()V
         9: .line 1351
            iload 7 /* ctPlusTagLen */
            bipush 16
            if_icmpge 11
        10: .line 1352
            new javax.crypto.AEADBadTagException
            dup
            ldc "Input too short - need tag"
            invokespecial javax.crypto.AEADBadTagException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 1354
      StackMap locals:
      StackMap stack:
            iload 7 /* ctPlusTagLen */
            bipush 16
            isub
            istore 8 /* ctLen */
        start local 8 // int ctLen
        12: .line 1358
            iload 5 /* outOff */
            iload 8 /* ctLen */
            aload 4 /* out */
            arraylength
            invokestatic java.util.Objects.checkFromIndexSize:(III)I
            pop
        13: .line 1359
            goto 16
      StackMap locals: com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec byte[] int int byte[] int byte[] int int
      StackMap stack: java.lang.IndexOutOfBoundsException
        14: pop
        15: .line 1360
            new javax.crypto.ShortBufferException
            dup
            ldc "Output buffer too small"
            invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 1365
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            aload 6 /* ctPlusTag */
            iconst_0
            iload 8 /* ctLen */
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.tag:[B
            iconst_0
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher.authFinalizeData:([BII[BI)V
        17: .line 1366
            getstatic com.sun.crypto.provider.ChaCha20Cipher.asLongView:Ljava/lang/invoke/VarHandle;
            aload 6 /* ctPlusTag */
            iload 8 /* ctLen */
            invokevirtual java.lang.invoke.VarHandle.get:([BI)J
        18: .line 1367
            getstatic com.sun.crypto.provider.ChaCha20Cipher.asLongView:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.tag:[B
            iconst_0
            invokevirtual java.lang.invoke.VarHandle.get:([BI)J
        19: .line 1366
            lxor
        20: .line 1368
            getstatic com.sun.crypto.provider.ChaCha20Cipher.asLongView:Ljava/lang/invoke/VarHandle;
            aload 6 /* ctPlusTag */
            iload 8 /* ctLen */
            bipush 8
            iadd
            invokevirtual java.lang.invoke.VarHandle.get:([BI)J
        21: .line 1369
            getstatic com.sun.crypto.provider.ChaCha20Cipher.asLongView:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.tag:[B
            bipush 8
            invokevirtual java.lang.invoke.VarHandle.get:([BI)J
        22: .line 1368
            lxor
        23: .line 1366
            lor
            lstore 9 /* tagCompare */
        start local 9 // long tagCompare
        24: .line 1370
            lload 9 /* tagCompare */
            lconst_0
            lcmp
            ifeq 26
        25: .line 1371
            new javax.crypto.AEADBadTagException
            dup
            ldc "Tag mismatch"
            invokespecial javax.crypto.AEADBadTagException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 1373
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            aload 6 /* ctPlusTag */
            iconst_0
            iload 8 /* ctLen */
            aload 4 /* out */
            iload 5 /* outOff */
            invokevirtual com.sun.crypto.provider.ChaCha20Cipher.chaCha20Transform:([BII[BI)V
        27: .line 1374
            aload 0 /* this */
            getfield com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec.this$0:Lcom/sun/crypto/provider/ChaCha20Cipher;
            iconst_0
            putfield com.sun.crypto.provider.ChaCha20Cipher.aadDone:Z
        28: .line 1376
            iload 8 /* ctLen */
            ireturn
        end local 9 // long tagCompare
        end local 8 // int ctLen
        end local 7 // int ctPlusTagLen
        end local 6 // byte[] ctPlusTag
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int inLen
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   29     0          this  Lcom/sun/crypto/provider/ChaCha20Cipher$EngineAEADDec;
            0   29     1            in  [B
            0   29     2         inOff  I
            0   29     3         inLen  I
            0   29     4           out  [B
            0   29     5        outOff  I
            3    5     6     ctPlusTag  [B
            7   29     6     ctPlusTag  [B
            4    5     7  ctPlusTagLen  I
            8   29     7  ctPlusTagLen  I
           12   29     8         ctLen  I
           24   29     9    tagCompare  J
      Exception table:
        from    to  target  type
          12    13      14  Class java.lang.IndexOutOfBoundsException
    Exceptions:
      throws javax.crypto.ShortBufferException, javax.crypto.AEADBadTagException, java.security.KeyException
    MethodParameters:
        Name  Flags
      in      
      inOff   
      inLen   
      out     
      outOff  
}
SourceFile: "ChaCha20Cipher.java"
NestHost: com.sun.crypto.provider.ChaCha20Cipher
InnerClasses:
  abstract ChaChaEngine = com.sun.crypto.provider.ChaCha20Cipher$ChaChaEngine of com.sun.crypto.provider.ChaCha20Cipher
  private final EngineAEADDec = com.sun.crypto.provider.ChaCha20Cipher$EngineAEADDec of com.sun.crypto.provider.ChaCha20Cipher