final class com.sun.crypto.provider.Poly1305
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.Poly1305
super_class: java.lang.Object
{
private static final int KEY_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int RS_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int BLOCK_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int TAG_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final sun.security.util.math.IntegerFieldModuloP ipl1305;
descriptor: Lsun/security/util/math/IntegerFieldModuloP;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private byte[] keyBytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final byte[] block;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int blockOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.security.util.math.IntegerModuloP r;
descriptor: Lsun/security/util/math/IntegerModuloP;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.math.IntegerModuloP s;
descriptor: Lsun/security/util/math/IntegerModuloP;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.math.MutableIntegerModuloP a;
descriptor: Lsun/security/util/math/MutableIntegerModuloP;
flags: (0x0002) ACC_PRIVATE
private final sun.security.util.math.MutableIntegerModuloP n;
descriptor: Lsun/security/util/math/MutableIntegerModuloP;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/sun/crypto/provider/Poly1305;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.crypto.provider.Poly1305.$assertionsDisabled:Z
3: new sun.security.util.math.intpoly.IntegerPolynomial1305
dup
invokespecial sun.security.util.math.intpoly.IntegerPolynomial1305.<init>:()V
4: putstatic com.sun.crypto.provider.Poly1305.ipl1305:Lsun/security/util/math/IntegerFieldModuloP;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 16
newarray 8
putfield com.sun.crypto.provider.Poly1305.block:[B
2: aload 0
getstatic com.sun.crypto.provider.Poly1305.ipl1305:Lsun/security/util/math/IntegerFieldModuloP;
invokeinterface sun.security.util.math.IntegerFieldModuloP.get1:()Lsun/security/util/math/ImmutableIntegerModuloP;
invokeinterface sun.security.util.math.ImmutableIntegerModuloP.mutable:()Lsun/security/util/math/MutableIntegerModuloP;
putfield com.sun.crypto.provider.Poly1305.n:Lsun/security/util/math/MutableIntegerModuloP;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/Poly1305;
void engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Null key provided during init"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokeinterface java.security.Key.getEncoded:()[B
putfield com.sun.crypto.provider.Poly1305.keyBytes:[B
2: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
ifnonnull 4
3: new java.security.InvalidKeyException
dup
ldc "Key does not support encoding"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
arraylength
bipush 32
if_icmpeq 8
5: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Incorrect length for key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.crypto.provider.Poly1305.engineReset:()V
9: aload 0
invokevirtual com.sun.crypto.provider.Poly1305.setRSVals:()V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/Poly1305;
0 11 1 newKey Ljava/security/Key;
0 11 2 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
newKey
params
int engineGetMacLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 16
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/Poly1305;
void engineReset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
1: aload 0
iconst_0
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
2: aload 0
getstatic com.sun.crypto.provider.Poly1305.ipl1305:Lsun/security/util/math/IntegerFieldModuloP;
invokeinterface sun.security.util.math.IntegerFieldModuloP.get0:()Lsun/security/util/math/ImmutableIntegerModuloP;
invokeinterface sun.security.util.math.ImmutableIntegerModuloP.mutable:()Lsun/security/util/math/MutableIntegerModuloP;
putfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/Poly1305;
void engineUpdate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: goto 14
2: StackMap locals: int
StackMap stack:
iload 2
3: bipush 16
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
isub
4: invokestatic java.lang.Integer.min:(II)I
istore 3
start local 3 5: iload 3
bipush 16
if_icmplt 8
6: aload 0
aload 1
iload 3
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:(Ljava/nio/ByteBuffer;I)V
7: goto 13
8: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
9: aload 0
dup
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
iload 3
iadd
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
10: aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
bipush 16
if_icmplt 13
11: aload 0
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
bipush 16
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:([BII)V
12: aload 0
iconst_0
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
13: StackMap locals:
StackMap stack:
iload 2
iload 3
isub
istore 2
end local 3 14: StackMap locals:
StackMap stack:
iload 2
ifgt 2
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/crypto/provider/Poly1305;
0 16 1 buf Ljava/nio/ByteBuffer;
1 16 2 remaining I
5 14 3 bytesToWrite I
MethodParameters:
Name Flags
buf
void engineUpdate(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
aload 1
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
1: aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
ifle 18
2: bipush 16
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
isub
istore 4
start local 4 3: iload 3
iload 4
if_icmpge 7
4: aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
dup
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
iload 3
iadd
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
6: return
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
8: iload 4
9: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: iload 2
iload 4
iadd
istore 2
11: iload 3
iload 4
isub
istore 3
12: aload 0
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
bipush 16
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:([BII)V
13: aload 0
iconst_0
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
end local 4 14: goto 18
15: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
bipush 16
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:([BII)V
16: iinc 2 16
17: iinc 3 -16
18: StackMap locals:
StackMap stack:
iload 3
bipush 16
if_icmpge 15
19: iload 3
ifle 22
20: aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: aload 0
iload 3
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
22: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/crypto/provider/Poly1305;
0 23 1 input [B
0 23 2 offset I
0 23 3 len I
3 14 4 blockSpaceLeft I
MethodParameters:
Name Flags
input
offset
len
void engineUpdate(byte);
descriptor: (B)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.crypto.provider.Poly1305.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
bipush 16
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
aload 0
dup
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
dup_x1
iconst_1
iadd
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
iload 1
bastore
2: aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
bipush 16
if_icmpne 5
3: aload 0
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
bipush 16
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:([BII)V
4: aload 0
iconst_0
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/Poly1305;
0 6 1 input B
MethodParameters:
Name Flags
input
byte[] engineDoFinal();
descriptor: ()[B
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: bipush 16
newarray 8
astore 1
start local 1 1: aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
ifle 4
2: aload 0
aload 0
getfield com.sun.crypto.provider.Poly1305.block:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.Poly1305.blockOffset:I
invokevirtual com.sun.crypto.provider.Poly1305.processBlock:([BII)V
3: aload 0
iconst_0
putfield com.sun.crypto.provider.Poly1305.blockOffset:I
4: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.s:Lsun/security/util/math/IntegerModuloP;
aload 1
invokeinterface sun.security.util.math.MutableIntegerModuloP.addModPowerTwo:(Lsun/security/util/math/IntegerModuloP;[B)V
5: aload 0
invokevirtual com.sun.crypto.provider.Poly1305.engineReset:()V
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/Poly1305;
1 7 1 tag [B
private void processBlock(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.crypto.provider.Poly1305.n:Lsun/security/util/math/MutableIntegerModuloP;
aload 1
iload 2
iconst_1
invokeinterface sun.security.util.math.MutableIntegerModuloP.setValue:(Ljava/nio/ByteBuffer;IB)Lsun/security/util/math/MutableIntegerModuloP;
pop
1: aload 0
getfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.n:Lsun/security/util/math/MutableIntegerModuloP;
invokeinterface sun.security.util.math.MutableIntegerModuloP.setSum:(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/MutableIntegerModuloP;
pop
2: aload 0
getfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.r:Lsun/security/util/math/IntegerModuloP;
invokeinterface sun.security.util.math.MutableIntegerModuloP.setProduct:(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/MutableIntegerModuloP;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/Poly1305;
0 4 1 buf Ljava/nio/ByteBuffer;
0 4 2 len I
MethodParameters:
Name Flags
buf
len
private void processBlock(byte[], int, int);
descriptor: ([BII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
aload 1
arraylength
invokestatic java.util.Objects.checkFromIndexSize:(III)I
pop
1: aload 0
getfield com.sun.crypto.provider.Poly1305.n:Lsun/security/util/math/MutableIntegerModuloP;
aload 1
iload 2
iload 3
iconst_1
invokeinterface sun.security.util.math.MutableIntegerModuloP.setValue:([BIIB)Lsun/security/util/math/MutableIntegerModuloP;
pop
2: aload 0
getfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.n:Lsun/security/util/math/MutableIntegerModuloP;
invokeinterface sun.security.util.math.MutableIntegerModuloP.setSum:(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/MutableIntegerModuloP;
pop
3: aload 0
getfield com.sun.crypto.provider.Poly1305.a:Lsun/security/util/math/MutableIntegerModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.r:Lsun/security/util/math/IntegerModuloP;
invokeinterface sun.security.util.math.MutableIntegerModuloP.setProduct:(Lsun/security/util/math/IntegerModuloP;)Lsun/security/util/math/MutableIntegerModuloP;
pop
4: return
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/Poly1305;
0 5 1 block [B
0 5 2 offset I
0 5 3 length I
MethodParameters:
Name Flags
block
offset
length
private void setRSVals();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
iconst_3
dup2
baload
bipush 15
iand
i2b
bastore
1: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 7
dup2
baload
bipush 15
iand
i2b
bastore
2: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 11
dup2
baload
bipush 15
iand
i2b
bastore
3: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 15
dup2
baload
bipush 15
iand
i2b
bastore
4: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
iconst_4
dup2
baload
sipush 252
iand
i2b
bastore
5: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 8
dup2
baload
sipush 252
iand
i2b
bastore
6: aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 12
dup2
baload
sipush 252
iand
i2b
bastore
7: aload 0
getstatic com.sun.crypto.provider.Poly1305.ipl1305:Lsun/security/util/math/IntegerFieldModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
iconst_0
bipush 16
iconst_0
invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:([BIIB)Lsun/security/util/math/ImmutableIntegerModuloP;
putfield com.sun.crypto.provider.Poly1305.r:Lsun/security/util/math/IntegerModuloP;
8: aload 0
getstatic com.sun.crypto.provider.Poly1305.ipl1305:Lsun/security/util/math/IntegerFieldModuloP;
aload 0
getfield com.sun.crypto.provider.Poly1305.keyBytes:[B
bipush 16
bipush 16
iconst_0
invokeinterface sun.security.util.math.IntegerFieldModuloP.getElement:([BIIB)Lsun/security/util/math/ImmutableIntegerModuloP;
putfield com.sun.crypto.provider.Poly1305.s:Lsun/security/util/math/IntegerModuloP;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/crypto/provider/Poly1305;
}
SourceFile: "Poly1305.java"