abstract class com.sun.crypto.provider.GaloisCounterMode$GCMEngine
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.crypto.provider.GaloisCounterMode$GCMEngine
super_class: java.lang.Object
{
byte[] preCounterBlock;
descriptor: [B
flags: (0x0000)
com.sun.crypto.provider.GCTR gctr;
descriptor: Lcom/sun/crypto/provider/GCTR;
flags: (0x0000)
com.sun.crypto.provider.GHASH ghash;
descriptor: Lcom/sun/crypto/provider/GHASH;
flags: (0x0000)
final int blockSize;
descriptor: I
flags: (0x0010) ACC_FINAL
java.io.ByteArrayOutputStream aadBuffer;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0000)
int sizeOfAAD;
descriptor: I
flags: (0x0000)
boolean aadProcessed;
descriptor: Z
flags: (0x0000)
java.io.ByteArrayOutputStream ibuffer;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0000)
java.nio.ByteBuffer originalDst;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
byte[] originalOut;
descriptor: [B
flags: (0x0000)
int originalOutOfs;
descriptor: I
flags: (0x0000)
final com.sun.crypto.provider.GaloisCounterMode this$0;
descriptor: Lcom/sun/crypto/provider/GaloisCounterMode;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.crypto.provider.GaloisCounterMode, com.sun.crypto.provider.SymmetricCipher);
descriptor: (Lcom/sun/crypto/provider/GaloisCounterMode;Lcom/sun/crypto/provider/SymmetricCipher;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
2: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.sizeOfAAD:I
3: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadProcessed:Z
4: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ibuffer:Ljava/io/ByteArrayOutputStream;
5: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalDst:Ljava/nio/ByteBuffer;
6: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOut:[B
7: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOutOfs:I
8: aload 0
aload 2
invokevirtual com.sun.crypto.provider.SymmetricCipher.getBlockSize:()I
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
9: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
newarray 8
astore 3
start local 3 10: aload 2
aload 3
iconst_0
aload 3
iconst_0
invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
11: aload 0
aload 1
getfield com.sun.crypto.provider.GaloisCounterMode.iv:[B
aload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
invokestatic com.sun.crypto.provider.GaloisCounterMode.getJ0:([B[BI)[B
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.preCounterBlock:[B
12: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.preCounterBlock:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
start local 4 13: aload 4
invokestatic com.sun.crypto.provider.GaloisCounterMode.increment32:([B)V
14: aload 0
new com.sun.crypto.provider.GCTR
dup
aload 2
aload 4
invokespecial com.sun.crypto.provider.GCTR.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;[B)V
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.gctr:Lcom/sun/crypto/provider/GCTR;
15: aload 0
new com.sun.crypto.provider.GHASH
dup
aload 3
invokespecial com.sun.crypto.provider.GHASH.<init>:([B)V
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
16: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 17 2 blockCipher Lcom/sun/crypto/provider/SymmetricCipher;
10 17 3 subkeyH [B
13 17 4 j0Plus1 [B
MethodParameters:
Name Flags
this$0 final
blockCipher
abstract int getOutputSize(int, boolean);
descriptor: (IZ)I
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
inLen
isFinal
abstract byte[] doUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
in
inOfs
inLen
abstract int doUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
in
inOfs
inLen
out
outOfs
abstract int doUpdate(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
src
dst
abstract int doFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.AEADBadTagException, javax.crypto.ShortBufferException
MethodParameters:
Name Flags
in
inOfs
inLen
out
outOfs
abstract int doFinal(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.AEADBadTagException, javax.crypto.ShortBufferException
MethodParameters:
Name Flags
src
dst
void initBuffer(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 2
1: aload 0
new java.io.ByteArrayOutputStream
dup
iload 1
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ibuffer:Ljava/io/ByteArrayOutputStream;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 3 1 len I
MethodParameters:
Name Flags
len
int getBufferedLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
int implGCMCrypt(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0000)
Code:
stack=10, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
sipush 8192
irem
isub
istore 3
start local 3 1: iload 3
sipush 8192
if_icmpge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 16
aload 2
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 16
4: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
getfield com.sun.crypto.provider.GaloisCounterMode.encryption:Z
ifeq 5
aload 2
goto 6
StackMap locals:
StackMap stack:
5: aload 1
StackMap locals:
StackMap stack: java.nio.ByteBuffer
6: astore 5
start local 5 7: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
8: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
iload 3
9: aload 5
invokevirtual java.nio.ByteBuffer.array:()[B
aload 5
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 5
invokevirtual java.nio.ByteBuffer.position:()I
iadd
10: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iadd
11: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.gctr:Lcom/sun/crypto/provider/GCTR;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
12: invokestatic com.sun.crypto.provider.GaloisCounterMode.implGCMCrypt:([BII[BI[BILcom/sun/crypto/provider/GCTR;Lcom/sun/crypto/provider/GHASH;)I
istore 4
start local 4 13: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
14: aload 2
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
15: iload 4
ireturn
end local 5 end local 4 16: StackMap locals:
StackMap stack:
sipush 8192
newarray 8
astore 5
start local 5 17: sipush 8192
newarray 8
astore 6
start local 6 18: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
getfield com.sun.crypto.provider.GaloisCounterMode.encryption:Z
ifeq 19
aload 6
goto 20
StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine java.nio.ByteBuffer java.nio.ByteBuffer int top byte[] byte[]
StackMap stack:
19: aload 5
StackMap locals:
StackMap stack: byte[]
20: astore 7
start local 7 21: iload 3
istore 4
start local 4 22: StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine java.nio.ByteBuffer java.nio.ByteBuffer int int byte[] byte[] byte[]
StackMap stack:
aload 1
aload 5
iconst_0
sipush 8192
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
23: iload 4
aload 5
iconst_0
sipush 8192
24: aload 7
iconst_0
aload 6
iconst_0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.gctr:Lcom/sun/crypto/provider/GCTR;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
25: invokestatic com.sun.crypto.provider.GaloisCounterMode.implGCMCrypt:([BII[BI[BILcom/sun/crypto/provider/GCTR;Lcom/sun/crypto/provider/GHASH;)I
isub
istore 4
26: aload 2
aload 6
iconst_0
sipush 8192
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
27: iload 4
sipush 8192
28: if_icmpge 22
29: iload 3
iload 4
isub
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 30 1 src Ljava/nio/ByteBuffer;
0 30 2 dst Ljava/nio/ByteBuffer;
1 30 3 srcLen I
13 16 4 len I
22 30 4 len I
7 16 5 ct Ljava/nio/ByteBuffer;
17 30 5 bin [B
18 30 6 bout [B
21 30 7 ct [B
MethodParameters:
Name Flags
src
dst
int mergeBlock(byte[], int, byte[], int, int, byte[]);
descriptor: ([BI[BII[B)I
flags: (0x0000)
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 2
aload 1
arraylength
iload 2
isub
aload 3
1: iload 4
iload 5
aload 6
2: invokevirtual com.sun.crypto.provider.GaloisCounterMode$GCMEngine.mergeBlock:([BII[BII[B)I
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 3 1 buffer [B
0 3 2 bufOfs I
0 3 3 in [B
0 3 4 inOfs I
0 3 5 inLen I
0 3 6 block [B
MethodParameters:
Name Flags
buffer
bufOfs
in
inOfs
inLen
block
int mergeBlock(byte[], int, int, byte[], int, int, byte[]);
descriptor: ([BII[BII[B)I
flags: (0x0000)
Code:
stack=5, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
if_icmple 4
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "mergeBlock called on an ibuffer too big: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 7
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 7
arraylength
iload 3
isub
iload 6
invokestatic java.lang.Math.min:(II)I
istore 8
start local 8 6: aload 4
iload 5
aload 7
iload 3
iload 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: iload 8
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 8 1 buffer [B
0 8 2 bufOfs I
0 8 3 bufLen I
0 8 4 in [B
0 8 5 inOfs I
0 8 6 inLen I
0 8 7 block [B
6 8 8 inUsed I
MethodParameters:
Name Flags
buffer
bufOfs
bufLen
in
inOfs
inLen
block
void updateAAD(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
getfield com.sun.crypto.provider.GaloisCounterMode.encryption:Z
ifeq 2
1: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
invokevirtual com.sun.crypto.provider.GaloisCounterMode.checkReInit:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 9
3: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.sizeOfAAD:I
ifne 6
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadProcessed:Z
ifne 6
4: aload 0
new java.io.ByteArrayOutputStream
dup
iload 3
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
5: goto 9
6: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
7: ldc "Update has been called; no more AAD data"
8: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 11 1 src [B
0 11 2 offset I
0 11 3 len I
MethodParameters:
Name Flags
src
offset
len
void processAAD();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnull 14
1: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
ifle 13
2: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 1
start local 1 3: aload 0
aload 1
arraylength
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.sizeOfAAD:I
4: aload 1
arraylength
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
irem
istore 2
start local 2 5: iload 2
ifeq 12
6: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
aload 1
iconst_0
aload 1
arraylength
iload 2
isub
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)I
pop
7: aload 1
8: aload 1
arraylength
iload 2
isub
iload 2
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
9: invokestatic com.sun.crypto.provider.GaloisCounterMode.expandToOneBlock:([BIII)[B
astore 3
start local 3 10: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
aload 3
invokevirtual com.sun.crypto.provider.GHASH.update:([B)I
pop
end local 3 11: goto 13
12: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.ghash:Lcom/sun/crypto/provider/GHASH;
aload 1
invokevirtual com.sun.crypto.provider.GHASH.update:([B)I
pop
end local 2 end local 1 13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadBuffer:Ljava/io/ByteArrayOutputStream;
14: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.aadProcessed:Z
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
3 13 1 aad [B
5 13 2 lastLen I
10 11 3 padded [B
int doLastBlock(com.sun.crypto.provider.GaloisCounterMode$GCMOperation, java.nio.ByteBuffer, java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Lcom/sun/crypto/provider/GaloisCounterMode$GCMOperation;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0000)
Code:
stack=7, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aload 2
ifnull 2
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 7
start local 7 4: iload 7
ifle 27
5: iload 7
sipush 8192
if_icmplt 8
6: aload 0
aload 2
aload 4
invokevirtual com.sun.crypto.provider.GaloisCounterMode$GCMEngine.implGCMCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 5
7: iload 7
iload 5
isub
istore 7
8: StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine com.sun.crypto.provider.GaloisCounterMode$GCMOperation java.nio.ByteBuffer java.nio.ByteBuffer java.nio.ByteBuffer int top int
StackMap stack:
iload 7
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
if_icmplt 12
9: aload 1
aload 2
aload 4
invokeinterface com.sun.crypto.provider.GaloisCounterMode$GCMOperation.update:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 6
start local 6 10: iload 7
iload 6
isub
istore 7
11: iload 5
iload 6
iadd
istore 5
end local 6 12: StackMap locals:
StackMap stack:
iload 7
ifle 27
13: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
newarray 8
astore 8
start local 8 14: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 9
start local 9 15: aload 2
aload 8
iconst_0
iload 9
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
16: aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
iload 9
isub
invokestatic java.lang.Math.min:(II)I
istore 10
start local 10 17: iload 10
ifle 19
18: aload 3
aload 8
iload 9
iload 10
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
19: StackMap locals: byte[] int int
StackMap stack:
iload 10
iload 9
iadd
istore 11
start local 11 20: iload 11
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
if_icmpne 23
21: iload 5
aload 1
aload 8
iconst_0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.blockSize:I
aload 4
invokeinterface com.sun.crypto.provider.GaloisCounterMode$GCMOperation.update:([BIILjava/nio/ByteBuffer;)I
iadd
istore 5
22: goto 27
23: StackMap locals: int
StackMap stack:
iload 5
aload 1
aload 8
iconst_0
iload 11
aload 8
iconst_0
invokeinterface com.sun.crypto.provider.GaloisCounterMode$GCMOperation.doFinal:([BII[BI)I
iadd
istore 5
24: aload 4
ifnull 26
25: aload 4
aload 8
iconst_0
iload 11
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
26: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 11 end local 10 end local 9 end local 8 27: StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine com.sun.crypto.provider.GaloisCounterMode$GCMOperation java.nio.ByteBuffer java.nio.ByteBuffer java.nio.ByteBuffer int top int
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
sipush 8192
if_icmplt 29
28: iload 5
aload 0
aload 3
aload 4
invokevirtual com.sun.crypto.provider.GaloisCounterMode$GCMEngine.implGCMCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
iadd
istore 5
29: StackMap locals:
StackMap stack:
iload 5
aload 1
aload 3
aload 4
invokeinterface com.sun.crypto.provider.GaloisCounterMode$GCMOperation.doFinal:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
iadd
ireturn
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 30 1 op Lcom/sun/crypto/provider/GaloisCounterMode$GCMOperation;
0 30 2 buffer Ljava/nio/ByteBuffer;
0 30 3 src Ljava/nio/ByteBuffer;
0 30 4 dst Ljava/nio/ByteBuffer;
1 30 5 len I
10 12 6 resultLen I
4 30 7 bLen I
14 27 8 block [B
15 27 9 over I
17 27 10 slen I
20 27 11 l I
MethodParameters:
Name Flags
op
buffer
src
dst
java.nio.ByteBuffer overlapDetection(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifeq 18
aload 2
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifeq 18
1: aload 1
checkcast sun.nio.ch.DirectBuffer
astore 3
start local 3 2: aload 2
checkcast sun.nio.ch.DirectBuffer
astore 4
start local 4 3: aload 3
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lstore 5
start local 5 4: aload 4
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lstore 7
start local 7 5: goto 8
6: StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine java.nio.ByteBuffer java.nio.ByteBuffer sun.nio.ch.DirectBuffer sun.nio.ch.DirectBuffer long long
StackMap stack:
aload 3
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lstore 5
7: aload 3
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
checkcast sun.nio.ch.DirectBuffer
astore 3
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
ifnonnull 6
9: goto 12
10: StackMap locals:
StackMap stack:
aload 4
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lstore 7
11: aload 4
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
checkcast sun.nio.ch.DirectBuffer
astore 4
12: StackMap locals:
StackMap stack:
aload 4
invokeinterface sun.nio.ch.DirectBuffer.attachment:()Ljava/lang/Object;
ifnonnull 10
13: lload 5
lload 7
lcmp
ifeq 15
14: aload 2
areturn
15: StackMap locals:
StackMap stack:
aload 1
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lload 5
lsub
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
i2l
ladd
16: aload 2
checkcast sun.nio.ch.DirectBuffer
invokeinterface sun.nio.ch.DirectBuffer.address:()J
lload 7
lsub
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
i2l
ladd
lcmp
iflt 26
17: aload 2
areturn
end local 7 end local 5 end local 4 end local 3 18: StackMap locals: com.sun.crypto.provider.GaloisCounterMode$GCMEngine java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 25
aload 2
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 25
19: aload 1
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifne 26
20: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
if_acmpeq 22
21: aload 2
areturn
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
getfield com.sun.crypto.provider.GaloisCounterMode.encryption:Z
ifeq 26
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iadd
23: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iadd
if_icmplt 26
24: aload 2
areturn
25: StackMap locals:
StackMap stack:
aload 2
areturn
26: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 3
start local 3 27: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 28: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
29: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
30: aload 4
aload 3
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
31: aload 4
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
32: aload 0
aload 2
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalDst:Ljava/nio/ByteBuffer;
33: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 34 1 src Ljava/nio/ByteBuffer;
0 34 2 dst Ljava/nio/ByteBuffer;
2 18 3 dsrc Lsun/nio/ch/DirectBuffer;
3 18 4 ddst Lsun/nio/ch/DirectBuffer;
4 18 5 srcaddr J
5 18 7 dstaddr J
27 34 3 tmp Ljava/nio/ByteBuffer;
28 34 4 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
byte[] overlapDetection(byte[], int, byte[], int);
descriptor: ([BI[BI)[B
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 3
if_acmpne 4
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.this$0:Lcom/sun/crypto/provider/GaloisCounterMode;
getfield com.sun.crypto.provider.GaloisCounterMode.encryption:Z
ifeq 1
iload 2
iload 4
if_icmpge 4
1: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOut:[B
2: aload 0
iload 4
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOutOfs:I
3: aload 3
arraylength
newarray 8
areturn
4: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 5 1 in [B
0 5 2 inOfs I
0 5 3 out [B
0 5 4 outOfs I
MethodParameters:
Name Flags
in
inOfs
out
outOfs
void restoreDst(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalDst:Ljava/nio/ByteBuffer;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
3: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalDst:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
4: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalDst:Ljava/nio/ByteBuffer;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 6 1 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
dst
void restoreOut(byte[], int);
descriptor: ([BI)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOut:[B
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOutOfs:I
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOut:[B
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOutOfs:I
3: iload 2
4: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode$GCMEngine.originalOut:[B
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/GaloisCounterMode$GCMEngine;
0 7 1 out [B
0 7 2 len I
MethodParameters:
Name Flags
out
len
}
SourceFile: "GaloisCounterMode.java"
NestHost: com.sun.crypto.provider.GaloisCounterMode
InnerClasses:
abstract GCMEngine = com.sun.crypto.provider.GaloisCounterMode$GCMEngine of com.sun.crypto.provider.GaloisCounterMode
public abstract GCMOperation = com.sun.crypto.provider.GaloisCounterMode$GCMOperation of com.sun.crypto.provider.GaloisCounterMode