public class org.bouncycastle.crypto.modes.EAXBlockCipher implements org.bouncycastle.crypto.modes.AEADBlockCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.modes.EAXBlockCipher
super_class: java.lang.Object
{
private static final byte nTAG;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte hTAG;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte cTAG;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private org.bouncycastle.crypto.modes.SICBlockCipher cipher;
descriptor: Lorg/bouncycastle/crypto/modes/SICBlockCipher;
flags: (0x0002) ACC_PRIVATE
private boolean forEncryption;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int blockSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.Mac mac;
descriptor: Lorg/bouncycastle/crypto/Mac;
flags: (0x0002) ACC_PRIVATE
private byte[] nonceMac;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] associatedTextMac;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] macBlock;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int macSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] bufBlock;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int bufOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.crypto.BlockCipher);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
2: aload 0
new org.bouncycastle.crypto.macs.CMac
dup
aload 1
invokespecial org.bouncycastle.crypto.macs.CMac.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
3: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
newarray 8
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
4: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
iconst_2
imul
newarray 8
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
5: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
invokeinterface org.bouncycastle.crypto.Mac.getMacSize:()I
newarray 8
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.associatedTextMac:[B
6: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
invokeinterface org.bouncycastle.crypto.Mac.getMacSize:()I
newarray 8
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.nonceMac:[B
7: aload 0
new org.bouncycastle.crypto.modes.SICBlockCipher
dup
aload 1
invokespecial org.bouncycastle.crypto.modes.SICBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)V
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 9 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
MethodParameters:
Name Flags
cipher
public java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.getAlgorithmName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/EAX"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
public org.bouncycastle.crypto.BlockCipher getUnderlyingCipher();
descriptor: ()Lorg/bouncycastle/crypto/BlockCipher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.getUnderlyingCipher:()Lorg/bouncycastle/crypto/BlockCipher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
public int getBlockSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.getBlockSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.forEncryption:Z
1: aload 2
instanceof org.bouncycastle.crypto.params.AEADParameters
ifeq 8
2: aload 2
checkcast org.bouncycastle.crypto.params.AEADParameters
astore 6
start local 6 3: aload 6
invokevirtual org.bouncycastle.crypto.params.AEADParameters.getNonce:()[B
astore 3
start local 3 4: aload 6
invokevirtual org.bouncycastle.crypto.params.AEADParameters.getAssociatedText:()[B
astore 4
start local 4 5: aload 0
aload 6
invokevirtual org.bouncycastle.crypto.params.AEADParameters.getMacSize:()I
bipush 8
idiv
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
6: aload 6
invokevirtual org.bouncycastle.crypto.params.AEADParameters.getKey:()Lorg/bouncycastle/crypto/params/KeyParameter;
astore 5
end local 6 start local 5 7: goto 16
end local 5 end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifeq 15
9: aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithIV
astore 6
start local 6 10: aload 6
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
astore 3
start local 3 11: iconst_0
newarray 8
astore 4
start local 4 12: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
invokeinterface org.bouncycastle.crypto.Mac.getMacSize:()I
iconst_2
idiv
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
13: aload 6
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
astore 5
end local 6 start local 5 14: goto 16
end local 5 end local 4 end local 3 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid parameters passed to EAX"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 3 start local 4 start local 5 16: StackMap locals: byte[] byte[] org.bouncycastle.crypto.CipherParameters
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
newarray 8
astore 6
start local 6 17: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 5
invokeinterface org.bouncycastle.crypto.Mac.init:(Lorg/bouncycastle/crypto/CipherParameters;)V
18: aload 6
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
iconst_1
isub
iconst_1
bastore
19: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 6
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
20: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 4
iconst_0
aload 4
arraylength
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
21: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.associatedTextMac:[B
iconst_0
invokeinterface org.bouncycastle.crypto.Mac.doFinal:([BI)I
pop
22: aload 6
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
iconst_1
isub
iconst_0
bastore
23: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 6
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
24: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 3
iconst_0
aload 3
arraylength
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
25: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.nonceMac:[B
iconst_0
invokeinterface org.bouncycastle.crypto.Mac.doFinal:([BI)I
pop
26: aload 6
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
iconst_1
isub
iconst_2
bastore
27: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 6
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
28: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
iconst_1
new org.bouncycastle.crypto.params.ParametersWithIV
dup
aload 5
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.nonceMac:[B
invokespecial org.bouncycastle.crypto.params.ParametersWithIV.<init>:(Lorg/bouncycastle/crypto/CipherParameters;[B)V
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
29: 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 30 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 30 1 forEncryption Z
0 30 2 params Lorg/bouncycastle/crypto/CipherParameters;
4 8 3 nonce [B
11 15 3 nonce [B
16 30 3 nonce [B
5 8 4 associatedText [B
12 15 4 associatedText [B
16 30 4 associatedText [B
7 8 5 keyParam Lorg/bouncycastle/crypto/CipherParameters;
14 15 5 keyParam Lorg/bouncycastle/crypto/CipherParameters;
16 30 5 keyParam Lorg/bouncycastle/crypto/CipherParameters;
3 7 6 param Lorg/bouncycastle/crypto/params/AEADParameters;
10 14 6 param Lorg/bouncycastle/crypto/params/ParametersWithIV;
17 30 6 tag [B
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
forEncryption
params
private void calculateMac();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
newarray 8
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 1
iconst_0
invokeinterface org.bouncycastle.crypto.Mac.doFinal:([BI)I
pop
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
iload 2
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.nonceMac:[B
iload 2
baload
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.associatedTextMac:[B
iload 2
baload
ixor
aload 1
iload 2
baload
ixor
i2b
bastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
arraylength
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
1 8 1 outC [B
3 7 2 i I
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.reset:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
private void reset(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.reset:()V
1: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
invokeinterface org.bouncycastle.crypto.Mac.reset:()V
2: aload 0
iconst_0
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
3: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
4: iload 1
ifeq 6
5: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
newarray 8
astore 2
start local 2 7: aload 2
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
iconst_1
isub
iconst_2
bastore
8: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 2
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 10 1 clearMac Z
7 10 2 tag [B
MethodParameters:
Name Flags
clearMac
public int processByte(byte, byte[], int);
descriptor: (B[BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.process:(B[BI)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 1 1 in B
0 1 2 out [B
0 1 3 outOff I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException
MethodParameters:
Name Flags
in
out
outOff
public int processBytes(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: iconst_0
istore 7
start local 7 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 6
aload 0
aload 1
iload 2
iload 7
iadd
baload
aload 4
iload 5
iload 6
iadd
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.process:(B[BI)I
iadd
istore 6
4: iinc 7 1
StackMap locals:
StackMap stack:
5: iload 7
iload 3
if_icmpne 3
end local 7 6: iload 6
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 7 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 7 1 in [B
0 7 2 inOff I
0 7 3 len I
0 7 4 out [B
0 7 5 outOff I
1 7 6 resultLen I
2 6 7 i I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException
MethodParameters:
Name Flags
in
inOff
len
out
outOff
public int doFinal(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
istore 3
start local 3 1: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
arraylength
newarray 8
astore 4
start local 4 2: aload 0
iconst_0
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
3: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.forEncryption:Z
ifeq 12
4: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 4
iconst_0
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
pop
5: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
aload 4
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
pop
6: aload 4
iconst_0
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 4
iconst_0
iload 3
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
8: aload 0
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.calculateMac:()V
9: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
iconst_0
aload 1
iload 2
iload 3
iadd
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
iconst_0
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.reset:(Z)V
11: iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
iadd
ireturn
12: StackMap locals: int byte[]
StackMap stack:
iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
if_icmple 17
13: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
isub
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
14: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 4
iconst_0
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
pop
15: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
aload 4
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
pop
16: aload 4
iconst_0
aload 1
iload 2
iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.calculateMac:()V
18: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
isub
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.verifyMac:([BI)Z
ifne 20
19: new org.bouncycastle.crypto.InvalidCipherTextException
dup
ldc "mac check in EAX failed"
invokespecial org.bouncycastle.crypto.InvalidCipherTextException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.bouncycastle.crypto.modes.EAXBlockCipher.reset:(Z)V
21: iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 22 1 out [B
0 22 2 outOff I
1 22 3 extra I
2 22 4 tmp [B
Exceptions:
throws java.lang.IllegalStateException, org.bouncycastle.crypto.InvalidCipherTextException
MethodParameters:
Name Flags
out
outOff
public byte[] getMac();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
newarray 8
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
iconst_0
aload 1
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
1 3 1 mac [B
public int getUpdateOutputSize(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
iadd
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
idiv
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
imul
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 1 1 len I
MethodParameters:
Name Flags
len
public int getOutputSize(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.forEncryption:Z
ifeq 2
1: iload 1
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
iadd
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
iadd
ireturn
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
iadd
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 3 1 len I
MethodParameters:
Name Flags
len
private int process(byte, byte[], int);
descriptor: (B[BI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
aload 0
dup
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
iload 1
bastore
1: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
arraylength
if_icmpne 11
2: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.forEncryption:Z
ifeq 6
3: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 2
iload 3
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
istore 4
start local 4 4: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 2
iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
5: goto 8
end local 4 6: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.mac:Lorg/bouncycastle/crypto/Mac;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokeinterface org.bouncycastle.crypto.Mac.update:([BII)V
7: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.cipher:Lorg/bouncycastle/crypto/modes/SICBlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 2
iload 3
invokevirtual org.bouncycastle.crypto.modes.SICBlockCipher.processBlock:([BI[BI)I
istore 4
start local 4 8: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
putfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufOff:I
9: aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.bufBlock:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: iload 4
ireturn
end local 4 11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 12 1 b B
0 12 2 out [B
0 12 3 outOff I
4 6 4 size I
8 11 4 size I
MethodParameters:
Name Flags
b
out
outOff
private boolean verifyMac(byte[], int);
descriptor: ([BI)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macBlock:[B
iload 3
baload
aload 1
iload 2
iload 3
iadd
baload
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield org.bouncycastle.crypto.modes.EAXBlockCipher.macSize:I
if_icmplt 2
end local 3 6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/modes/EAXBlockCipher;
0 7 1 mac [B
0 7 2 off I
1 6 3 i I
MethodParameters:
Name Flags
mac
off
}
SourceFile: "EAXBlockCipher.java"