public class org.bouncycastle.crypto.macs.CFBBlockCipherMac implements org.bouncycastle.crypto.Mac
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.macs.CFBBlockCipherMac
super_class: java.lang.Object
{
private byte[] mac;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int bufOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.macs.MacCFBBlockCipher cipher;
descriptor: Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.paddings.BlockCipherPadding padding;
descriptor: Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
flags: (0x0002) ACC_PRIVATE
private int macSize;
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=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 8
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
bipush 8
imul
iconst_2
idiv
aconst_null
invokespecial org.bouncycastle.crypto.macs.CFBBlockCipherMac.<init>:(Lorg/bouncycastle/crypto/BlockCipher;IILorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 2 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
MethodParameters:
Name Flags
cipher
public void <init>(org.bouncycastle.crypto.BlockCipher, org.bouncycastle.crypto.paddings.BlockCipherPadding);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
bipush 8
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
bipush 8
imul
iconst_2
idiv
aload 2
invokespecial org.bouncycastle.crypto.macs.CFBBlockCipherMac.<init>:(Lorg/bouncycastle/crypto/BlockCipher;IILorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 2 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
0 2 2 padding Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
MethodParameters:
Name Flags
cipher
padding
public void <init>(org.bouncycastle.crypto.BlockCipher, int, int);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
aconst_null
invokespecial org.bouncycastle.crypto.macs.CFBBlockCipherMac.<init>:(Lorg/bouncycastle/crypto/BlockCipher;IILorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 2 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
0 2 2 cfbBitSize I
0 2 3 macSizeInBits I
MethodParameters:
Name Flags
cipher
cfbBitSize
macSizeInBits
public void <init>(org.bouncycastle.crypto.BlockCipher, int, int, org.bouncycastle.crypto.paddings.BlockCipherPadding);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;IILorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.padding:Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
2: iload 3
bipush 8
irem
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "MAC size must be multiple of 8"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.bouncycastle.crypto.macs.CFBBlockCipherMac org.bouncycastle.crypto.BlockCipher int int org.bouncycastle.crypto.paddings.BlockCipherPadding
StackMap stack:
aload 0
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
newarray 8
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
5: aload 0
new org.bouncycastle.crypto.macs.MacCFBBlockCipher
dup
aload 1
iload 2
invokespecial org.bouncycastle.crypto.macs.MacCFBBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;I)V
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
6: aload 0
aload 4
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.padding:Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
7: aload 0
iload 3
bipush 8
idiv
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.macSize:I
8: aload 0
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.getBlockSize:()I
newarray 8
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
9: aload 0
iconst_0
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 11 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
0 11 2 cfbBitSize I
0 11 3 macSizeInBits I
0 11 4 padding Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
MethodParameters:
Name Flags
cipher
cfbBitSize
macSizeInBits
padding
public java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.getAlgorithmName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
public void init(org.bouncycastle.crypto.CipherParameters);
descriptor: (Lorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.crypto.macs.CFBBlockCipherMac.reset:()V
1: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 1
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.init:(Lorg/bouncycastle/crypto/CipherParameters;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 3 1 params Lorg/bouncycastle/crypto/CipherParameters;
MethodParameters:
Name Flags
params
public int getMacSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.macSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
public void update(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
arraylength
if_icmpne 3
1: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
iconst_0
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.processBlock:([BI[BI)I
pop
2: aload 0
iconst_0
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
aload 0
dup
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iload 1
bastore
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 5 1 in B
MethodParameters:
Name Flags
in
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Can't have a negative input length!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.getBlockSize:()I
istore 4
start local 4 3: iload 4
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
isub
istore 5
start local 5 4: iload 3
iload 5
if_icmple 15
5: aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
iconst_0
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.processBlock:([BI[BI)I
pop
7: aload 0
iconst_0
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
8: iload 3
iload 5
isub
istore 3
9: iload 2
iload 5
iadd
istore 2
10: goto 14
11: StackMap locals: int int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
iconst_0
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.processBlock:([BI[BI)I
pop
12: iload 3
iload 4
isub
istore 3
13: iload 2
iload 4
iadd
istore 2
14: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmpgt 11
15: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: aload 0
dup
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iload 3
iadd
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
17: return
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 18 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 18 1 in [B
0 18 2 inOff I
0 18 3 len I
3 18 4 blockSize I
4 18 5 gapLen I
MethodParameters:
Name Flags
in
inOff
len
public int doFinal(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.getBlockSize:()I
istore 3
start local 3 1: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.padding:Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
ifnonnull 7
2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iconst_0
bastore
4: aload 0
dup
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iconst_1
iadd
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
iload 3
if_icmplt 3
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.padding:Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
invokeinterface org.bouncycastle.crypto.paddings.BlockCipherPadding.addPadding:([BI)I
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
iconst_0
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.processBlock:([BI[BI)I
pop
9: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.getMacBlock:([B)V
10: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.mac:[B
iconst_0
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.macSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
invokevirtual org.bouncycastle.crypto.macs.CFBBlockCipherMac.reset:()V
12: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.macSize:I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
0 13 1 out [B
0 13 2 outOff I
1 13 3 blockSize I
MethodParameters:
Name Flags
out
outOff
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
iload 1
iconst_0
bastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.buf:[B
arraylength
if_icmplt 2
end local 1 5: aload 0
iconst_0
putfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.bufOff:I
6: aload 0
getfield org.bouncycastle.crypto.macs.CFBBlockCipherMac.cipher:Lorg/bouncycastle/crypto/macs/MacCFBBlockCipher;
invokevirtual org.bouncycastle.crypto.macs.MacCFBBlockCipher.reset:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/macs/CFBBlockCipherMac;
1 5 1 i I
}
SourceFile: "CFBBlockCipherMac.java"