final class com.sun.crypto.provider.GaloisCounterMode 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.GaloisCounterMode
super_class: com.sun.crypto.provider.FeedbackCipher
{
static int DEFAULT_TAG_LEN;
descriptor: I
flags: (0x0008) ACC_STATIC
static int DEFAULT_IV_LEN;
descriptor: I
flags: (0x0008) ACC_STATIC
private static final int MAX_BUF_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483647
private java.io.ByteArrayOutputStream aadBuffer;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private int sizeOfAAD;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.io.ByteArrayOutputStream ibuffer;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private int tagLenBytes;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] subkeyH;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] preCounterBlock;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private com.sun.crypto.provider.GCTR gctrPAndC;
descriptor: Lcom/sun/crypto/provider/GCTR;
flags: (0x0002) ACC_PRIVATE
private com.sun.crypto.provider.GHASH ghashAllToS;
descriptor: Lcom/sun/crypto/provider/GHASH;
flags: (0x0002) ACC_PRIVATE
private int processed;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] aadBufferSave;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int sizeOfAADSave;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] ibufferSave;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int processedSave;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 16
putstatic com.sun.crypto.provider.GaloisCounterMode.DEFAULT_TAG_LEN:I
1: bipush 12
putstatic com.sun.crypto.provider.GaloisCounterMode.DEFAULT_IV_LEN:I
2: return
LocalVariableTable:
Start End Slot Name Signature
static void increment32(byte[]);
descriptor: ([B)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
arraylength
bipush 16
if_icmpeq 2
1: new java.security.ProviderException
dup
ldc "Illegal counter block length"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
arraylength
iconst_1
isub
istore 1
start local 1 3: goto 5
4: StackMap locals: int
StackMap stack:
iinc 1 -1
5: StackMap locals:
StackMap stack:
iload 1
aload 0
arraylength
iconst_4
isub
if_icmplt 6
aload 0
iload 1
dup2
baload
iconst_1
iadd
i2b
dup_x2
bastore
ifeq 4
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value [B
3 7 1 n I
MethodParameters:
Name Flags
value
private static byte[] getLengthBlock(int);
descriptor: (I)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: iload 0
i2l
iconst_3
lshl
lstore 1
start local 1 1: bipush 16
newarray 8
astore 3
start local 3 2: aload 3
bipush 8
lload 1
bipush 56
lushr
l2i
i2b
bastore
3: aload 3
bipush 9
lload 1
bipush 48
lushr
l2i
i2b
bastore
4: aload 3
bipush 10
lload 1
bipush 40
lushr
l2i
i2b
bastore
5: aload 3
bipush 11
lload 1
bipush 32
lushr
l2i
i2b
bastore
6: aload 3
bipush 12
lload 1
bipush 24
lushr
l2i
i2b
bastore
7: aload 3
bipush 13
lload 1
bipush 16
lushr
l2i
i2b
bastore
8: aload 3
bipush 14
lload 1
bipush 8
lushr
l2i
i2b
bastore
9: aload 3
bipush 15
lload 1
l2i
i2b
bastore
10: aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 ivLenInBytes I
1 11 1 ivLen J
2 11 3 out [B
MethodParameters:
Name Flags
ivLenInBytes
private static byte[] getLengthBlock(int, int);
descriptor: (II)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: iload 0
i2l
iconst_3
lshl
lstore 2
start local 2 1: iload 1
i2l
iconst_3
lshl
lstore 4
start local 4 2: bipush 16
newarray 8
astore 6
start local 6 3: aload 6
iconst_0
lload 2
bipush 56
lushr
l2i
i2b
bastore
4: aload 6
iconst_1
lload 2
bipush 48
lushr
l2i
i2b
bastore
5: aload 6
iconst_2
lload 2
bipush 40
lushr
l2i
i2b
bastore
6: aload 6
iconst_3
lload 2
bipush 32
lushr
l2i
i2b
bastore
7: aload 6
iconst_4
lload 2
bipush 24
lushr
l2i
i2b
bastore
8: aload 6
iconst_5
lload 2
bipush 16
lushr
l2i
i2b
bastore
9: aload 6
bipush 6
lload 2
bipush 8
lushr
l2i
i2b
bastore
10: aload 6
bipush 7
lload 2
l2i
i2b
bastore
11: aload 6
bipush 8
lload 4
bipush 56
lushr
l2i
i2b
bastore
12: aload 6
bipush 9
lload 4
bipush 48
lushr
l2i
i2b
bastore
13: aload 6
bipush 10
lload 4
bipush 40
lushr
l2i
i2b
bastore
14: aload 6
bipush 11
lload 4
bipush 32
lushr
l2i
i2b
bastore
15: aload 6
bipush 12
lload 4
bipush 24
lushr
l2i
i2b
bastore
16: aload 6
bipush 13
lload 4
bipush 16
lushr
l2i
i2b
bastore
17: aload 6
bipush 14
lload 4
bipush 8
lushr
l2i
i2b
bastore
18: aload 6
bipush 15
lload 4
l2i
i2b
bastore
19: aload 6
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 aLenInBytes I
0 20 1 cLenInBytes I
1 20 2 aLen J
2 20 4 cLen J
3 20 6 out [B
MethodParameters:
Name Flags
aLenInBytes
cLenInBytes
private static byte[] expandToOneBlock(byte[], int, int);
descriptor: ([BII)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush 16
if_icmple 2
1: new java.security.ProviderException
dup
new java.lang.StringBuilder
dup
ldc "input "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " too long"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
bipush 16
if_icmpne 4
iload 1
ifne 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 3
start local 3 5: aload 0
iload 1
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [B
0 7 1 inOfs I
0 7 2 len I
5 7 3 paddedIn [B
MethodParameters:
Name Flags
in
inOfs
len
private static byte[] getJ0(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
arraylength
bipush 12
if_icmpne 4
1: aload 0
iconst_0
aload 0
arraylength
invokestatic com.sun.crypto.provider.GaloisCounterMode.expandToOneBlock:([BII)[B
astore 2
start local 2 2: aload 2
bipush 15
iconst_1
bastore
3: goto 16
end local 2 4: StackMap locals:
StackMap stack:
new com.sun.crypto.provider.GHASH
dup
aload 1
invokespecial com.sun.crypto.provider.GHASH.<init>:([B)V
astore 3
start local 3 5: aload 0
arraylength
bipush 16
irem
istore 4
start local 4 6: iload 4
ifeq 12
7: aload 3
aload 0
iconst_0
aload 0
arraylength
iload 4
isub
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)V
8: aload 0
aload 0
arraylength
iload 4
isub
iload 4
invokestatic com.sun.crypto.provider.GaloisCounterMode.expandToOneBlock:([BII)[B
9: astore 5
start local 5 10: aload 3
aload 5
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
end local 5 11: goto 13
12: StackMap locals: byte[] byte[] top com.sun.crypto.provider.GHASH int
StackMap stack:
aload 3
aload 0
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
13: StackMap locals:
StackMap stack:
aload 0
arraylength
invokestatic com.sun.crypto.provider.GaloisCounterMode.getLengthBlock:(I)[B
astore 5
start local 5 14: aload 3
aload 5
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
15: aload 3
invokevirtual com.sun.crypto.provider.GHASH.digest:()[B
astore 2
end local 5 end local 4 end local 3 start local 2 16: StackMap locals: byte[] byte[] byte[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 iv [B
0 17 1 subkeyH [B
2 4 2 j0 [B
16 17 2 j0 [B
5 16 3 g Lcom/sun/crypto/provider/GHASH;
6 16 4 lastLen I
10 11 5 padded [B
14 16 5 lengthBlock [B
MethodParameters:
Name Flags
iv
subkeyH
private static void checkDataLength(int, int);
descriptor: (II)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ldc 2147483647
iload 1
isub
if_icmple 2
1: new java.security.ProviderException
dup
ldc "SunJCE provider only supports input size up to 2147483647 bytes"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 processed I
0 3 1 len I
MethodParameters:
Name Flags
processed
len
void <init>(com.sun.crypto.provider.SymmetricCipher);
descriptor: (Lcom/sun/crypto/provider/SymmetricCipher;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.crypto.provider.FeedbackCipher.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;)V
1: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
2: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
3: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
4: aload 0
getstatic com.sun.crypto.provider.GaloisCounterMode.DEFAULT_TAG_LEN:I
putfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
5: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.subkeyH:[B
6: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.preCounterBlock:[B
7: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
8: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
9: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
10: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.aadBufferSave:[B
11: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAADSave:I
12: aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.ibufferSave:[B
13: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.processedSave:I
14: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 16 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 0: ldc "GCM"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 3
1: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
ifnull 5
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
invokevirtual com.sun.crypto.provider.GCTR.reset:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
ifnull 6
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
invokevirtual com.sun.crypto.provider.GHASH.reset:()V
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
7: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
8: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnull 10
9: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
void save();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
putfield com.sun.crypto.provider.GaloisCounterMode.processedSave:I
1: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAADSave:I
2: aload 0
3: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnull 4
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
ifne 5
4: StackMap locals:
StackMap stack: com.sun.crypto.provider.GaloisCounterMode
aconst_null
goto 6
StackMap locals:
StackMap stack: com.sun.crypto.provider.GaloisCounterMode
5: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
6: StackMap locals: com.sun.crypto.provider.GaloisCounterMode
StackMap stack: com.sun.crypto.provider.GaloisCounterMode byte[]
putfield com.sun.crypto.provider.GaloisCounterMode.aadBufferSave:[B
7: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
ifnull 8
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
invokevirtual com.sun.crypto.provider.GCTR.save:()V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
ifnull 9
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
invokevirtual com.sun.crypto.provider.GHASH.save:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnull 11
10: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
putfield com.sun.crypto.provider.GaloisCounterMode.ibufferSave:[B
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
void restore();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processedSave:I
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
1: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAADSave:I
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
2: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnull 6
3: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
4: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBufferSave:[B
ifnull 6
5: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBufferSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBufferSave:[B
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
ifnull 7
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
invokevirtual com.sun.crypto.provider.GCTR.restore:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
ifnull 8
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
invokevirtual com.sun.crypto.provider.GHASH.restore:()V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnull 11
9: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
10: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibufferSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibufferSave:[B
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
void init(boolean, java.lang.String, byte[], byte[]);
descriptor: (ZLjava/lang/String;[B[B)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 3
aload 4
getstatic com.sun.crypto.provider.GaloisCounterMode.DEFAULT_TAG_LEN:I
invokevirtual com.sun.crypto.provider.GaloisCounterMode.init:(ZLjava/lang/String;[B[BI)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 2 1 decrypting Z
0 2 2 algorithm Ljava/lang/String;
0 2 3 key [B
0 2 4 iv [B
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
decrypting
algorithm
key
iv
void init(boolean, java.lang.String, byte[], byte[], int);
descriptor: (ZLjava/lang/String;[B[BI)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
ifnonnull 2
1: new java.security.InvalidKeyException
dup
ldc "Internal error"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 4
ifnonnull 4
3: new java.security.InvalidAlgorithmParameterException
dup
ldc "Internal error"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 4
arraylength
ifne 6
5: new java.security.InvalidAlgorithmParameterException
dup
ldc "IV is empty"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
iconst_0
aload 2
aload 3
invokevirtual com.sun.crypto.provider.SymmetricCipher.init:(ZLjava/lang/String;[B)V
7: aload 0
bipush 16
newarray 8
putfield com.sun.crypto.provider.GaloisCounterMode.subkeyH:[B
8: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
bipush 16
newarray 8
iconst_0
9: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.subkeyH:[B
iconst_0
10: invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
11: aload 0
aload 4
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.crypto.provider.GaloisCounterMode.iv:[B
12: aload 0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.iv:[B
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.subkeyH:[B
invokestatic com.sun.crypto.provider.GaloisCounterMode.getJ0:([B[B)[B
putfield com.sun.crypto.provider.GaloisCounterMode.preCounterBlock:[B
13: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.preCounterBlock:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 6
start local 6 14: aload 6
invokestatic com.sun.crypto.provider.GaloisCounterMode.increment32:([B)V
15: aload 0
new com.sun.crypto.provider.GCTR
dup
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 6
invokespecial com.sun.crypto.provider.GCTR.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;[B)V
putfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
16: aload 0
new com.sun.crypto.provider.GHASH
dup
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.subkeyH:[B
invokespecial com.sun.crypto.provider.GHASH.<init>:([B)V
putfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
17: aload 0
iload 5
putfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
18: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 21
19: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
20: goto 22
21: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
22: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
23: aload 0
iconst_0
putfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
24: iload 1
ifeq 26
25: aload 0
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
26: StackMap locals:
StackMap stack:
return
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 27 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 27 1 decrypting Z
0 27 2 algorithm Ljava/lang/String;
0 27 3 keyValue [B
0 27 4 ivValue [B
0 27 5 tagLenBytes I
14 27 6 j0Plus1 [B
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
decrypting
algorithm
keyValue
ivValue
tagLenBytes
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.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnull 3
1: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
2: goto 6
3: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
4: ldc "Update has been called; no more AAD data"
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 7 1 src [B
0 7 2 offset I
0 7 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.aadBuffer:Ljava/io/ByteArrayOutputStream;
ifnull 14
1: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
ifle 13
2: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.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.sizeOfAAD:I
4: aload 1
arraylength
bipush 16
irem
istore 2
start local 2 5: iload 2
ifeq 12
6: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 1
iconst_0
aload 1
arraylength
iload 2
isub
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)V
7: aload 1
aload 1
arraylength
iload 2
isub
8: iload 2
9: invokestatic com.sun.crypto.provider.GaloisCounterMode.expandToOneBlock:([BII)[B
astore 3
start local 3 10: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 3
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
end local 3 11: goto 13
12: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 1
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
end local 2 end local 1 13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.crypto.provider.GaloisCounterMode.aadBuffer:Ljava/io/ByteArrayOutputStream;
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
3 13 1 aad [B
5 13 2 lastLen I
10 11 3 padded [B
void doLastBlock(byte[], int, int, byte[], int, boolean);
descriptor: ([BII[BIZ)V
flags: (0x0000)
Code:
stack=6, locals=11, 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
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.GCTR.doFinal:([BII[BI)I
pop
1: aload 0
dup
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
iload 3
iadd
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
2: iload 6
ifeq 6
3: aload 4
astore 7
start local 7 4: iload 5
istore 8
start local 8 5: goto 8
end local 8 end local 7 6: StackMap locals:
StackMap stack:
aload 1
astore 7
start local 7 7: iload 2
istore 8
start local 8 8: StackMap locals: byte[] int
StackMap stack:
iload 3
bipush 16
irem
istore 9
start local 9 9: iload 9
ifeq 15
10: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 7
iload 8
iload 3
iload 9
isub
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)V
11: aload 7
iload 8
iload 3
iadd
iload 9
isub
iload 9
invokestatic com.sun.crypto.provider.GaloisCounterMode.expandToOneBlock:([BII)[B
12: astore 10
start local 10 13: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 10
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
end local 10 14: goto 16
15: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 7
iload 8
iload 3
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)V
16: StackMap locals:
StackMap stack:
return
end local 9 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 17 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 17 1 in [B
0 17 2 inOfs I
0 17 3 len I
0 17 4 out [B
0 17 5 outOfs I
0 17 6 isEncrypt Z
4 6 7 ct [B
7 17 7 ct [B
5 6 8 ctOfs I
8 17 8 ctOfs I
9 17 9 lastLen I
13 14 10 padded [B
Exceptions:
throws javax.crypto.IllegalBlockSizeException
MethodParameters:
Name Flags
in
inOfs
len
out
outOfs
isEncrypt
int encrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.blockSize:I
irem
ifeq 2
1: new java.security.ProviderException
dup
ldc "Internal error in input buffering"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
iload 3
invokestatic com.sun.crypto.provider.GaloisCounterMode.checkDataLength:(II)V
3: aload 0
invokevirtual com.sun.crypto.provider.GaloisCounterMode.processAAD:()V
4: iload 3
ifle 8
5: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.gctrPAndC:Lcom/sun/crypto/provider/GCTR;
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.GCTR.update:([BII[BI)I
pop
6: aload 0
dup
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
iload 3
iadd
putfield com.sun.crypto.provider.GaloisCounterMode.processed:I
7: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 4
iload 5
iload 3
invokevirtual com.sun.crypto.provider.GHASH.update:([BII)V
8: StackMap locals:
StackMap stack:
iload 3
ireturn
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 9 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 9 1 in [B
0 9 2 inOfs I
0 9 3 len I
0 9 4 out [B
0 9 5 outOfs I
MethodParameters:
Name Flags
in
inOfs
len
out
outOfs
int encryptFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=7, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
ldc 2147483647
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
isub
if_icmple 4
1: new javax.crypto.ShortBufferException
dup
2: ldc "Can't fit both data and tag into one buffer"
3: invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 4
arraylength
iload 5
isub
iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
iadd
if_icmpge 6
5: new javax.crypto.ShortBufferException
dup
ldc "Output buffer too small"
invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
iload 3
invokestatic com.sun.crypto.provider.GaloisCounterMode.checkDataLength:(II)V
7: aload 0
invokevirtual com.sun.crypto.provider.GaloisCounterMode.processAAD:()V
8: iload 3
ifle 10
9: aload 0
aload 1
iload 2
iload 3
aload 4
iload 5
iconst_1
invokevirtual com.sun.crypto.provider.GaloisCounterMode.doLastBlock:([BII[BIZ)V
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
invokestatic com.sun.crypto.provider.GaloisCounterMode.getLengthBlock:(II)[B
11: astore 6
start local 6 12: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 6
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
13: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
invokevirtual com.sun.crypto.provider.GHASH.digest:()[B
astore 7
start local 7 14: aload 7
arraylength
newarray 8
astore 8
start local 8 15: new com.sun.crypto.provider.GCTR
dup
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.preCounterBlock:[B
invokespecial com.sun.crypto.provider.GCTR.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;[B)V
astore 9
start local 9 16: aload 9
aload 7
iconst_0
aload 7
arraylength
aload 8
iconst_0
invokevirtual com.sun.crypto.provider.GCTR.doFinal:([BII[BI)I
pop
17: aload 8
iconst_0
aload 4
iload 5
iload 3
iadd
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
iadd
ireturn
end local 9 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 19 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 19 1 in [B
0 19 2 inOfs I
0 19 3 len I
0 19 4 out [B
0 19 5 outOfs I
12 19 6 lengthBlock [B
14 19 7 s [B
15 19 8 sOut [B
16 19 9 gctrForSToTag Lcom/sun/crypto/provider/GCTR;
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException
MethodParameters:
Name Flags
in
inOfs
len
out
outOfs
int decrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.blockSize:I
irem
ifeq 2
1: new java.security.ProviderException
dup
ldc "Internal error in input buffering"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
iload 3
invokestatic com.sun.crypto.provider.GaloisCounterMode.checkDataLength:(II)V
3: aload 0
invokevirtual com.sun.crypto.provider.GaloisCounterMode.processAAD:()V
4: iload 3
ifle 6
5: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 7 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 7 1 in [B
0 7 2 inOfs I
0 7 3 len I
0 7 4 out [B
0 7 5 outOfs I
MethodParameters:
Name Flags
in
inOfs
len
out
outOfs
int decryptFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=7, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
if_icmpge 2
1: new javax.crypto.AEADBadTagException
dup
ldc "Input too short - need tag"
invokespecial javax.crypto.AEADBadTagException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
isub
invokestatic com.sun.crypto.provider.GaloisCounterMode.checkDataLength:(II)V
3: aload 4
arraylength
iload 5
isub
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
iload 3
iadd
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
isub
if_icmpge 5
4: new javax.crypto.ShortBufferException
dup
ldc "Output buffer too small"
invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.crypto.provider.GaloisCounterMode.processAAD:()V
6: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
newarray 8
astore 6
start local 6 7: aload 1
iload 2
iload 3
iadd
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
isub
aload 6
iconst_0
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: iload 3
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
isub
istore 3
9: iload 3
ifeq 11
10: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
11: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 1
12: iconst_0
istore 2
13: aload 1
arraylength
istore 3
14: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
15: iload 3
ifle 17
16: aload 0
aload 1
iload 2
iload 3
aload 4
iload 5
iconst_0
invokevirtual com.sun.crypto.provider.GaloisCounterMode.doLastBlock:([BII[BIZ)V
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.sizeOfAAD:I
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.processed:I
invokestatic com.sun.crypto.provider.GaloisCounterMode.getLengthBlock:(II)[B
18: astore 7
start local 7 19: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
aload 7
invokevirtual com.sun.crypto.provider.GHASH.update:([B)V
20: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ghashAllToS:Lcom/sun/crypto/provider/GHASH;
invokevirtual com.sun.crypto.provider.GHASH.digest:()[B
astore 8
start local 8 21: aload 8
arraylength
newarray 8
astore 9
start local 9 22: new com.sun.crypto.provider.GCTR
dup
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.preCounterBlock:[B
invokespecial com.sun.crypto.provider.GCTR.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;[B)V
astore 10
start local 10 23: aload 10
aload 8
iconst_0
aload 8
arraylength
aload 9
iconst_0
invokevirtual com.sun.crypto.provider.GCTR.doFinal:([BII[BI)I
pop
24: iconst_0
istore 11
start local 11 25: iconst_0
istore 12
start local 12 26: goto 29
27: StackMap locals: com.sun.crypto.provider.GaloisCounterMode byte[] int int byte[] int byte[] byte[] byte[] byte[] com.sun.crypto.provider.GCTR int int
StackMap stack:
iload 11
aload 6
iload 12
baload
aload 9
iload 12
baload
ixor
ior
istore 11
28: iinc 12 1
StackMap locals:
StackMap stack:
29: iload 12
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
if_icmplt 27
end local 12 30: iload 11
ifeq 32
31: new javax.crypto.AEADBadTagException
dup
ldc "Tag mismatch!"
invokespecial javax.crypto.AEADBadTagException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 11 end local 10 end local 9 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 33 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
0 33 1 in [B
0 33 2 inOfs I
0 33 3 len I
0 33 4 out [B
0 33 5 outOfs I
7 33 6 tag [B
19 33 7 lengthBlock [B
21 33 8 s [B
22 33 9 sOut [B
23 33 10 gctrForSToTag Lcom/sun/crypto/provider/GCTR;
25 33 11 mismatch I
26 30 12 i I
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.AEADBadTagException, javax.crypto.ShortBufferException
MethodParameters:
Name Flags
in
inOfs
len
out
outOfs
int getTagLen();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.tagLenBytes:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
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.ibuffer:Ljava/io/ByteArrayOutputStream;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.GaloisCounterMode.ibuffer:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/GaloisCounterMode;
}
SourceFile: "GaloisCounterMode.java"