public class org.bouncycastle.crypto.modes.CFBBlockCipher implements org.bouncycastle.crypto.BlockCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.modes.CFBBlockCipher
super_class: java.lang.Object
{
private byte[] IV;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] cfbV;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] cfbOutV;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int blockSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.BlockCipher cipher;
descriptor: Lorg/bouncycastle/crypto/BlockCipher;
flags: (0x0002) ACC_PRIVATE
private boolean encrypting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.crypto.BlockCipher, int);
descriptor: (Lorg/bouncycastle/crypto/BlockCipher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
2: aload 0
aload 1
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
3: aload 0
iload 2
bipush 8
idiv
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
4: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
newarray 8
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
5: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
newarray 8
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
6: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.BlockCipher.getBlockSize:()I
newarray 8
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 8 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
0 8 2 bitBlockSize I
MethodParameters:
Name Flags
cipher
bitBlockSize
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.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.encrypting:Z
1: aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifeq 16
2: aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithIV
astore 3
start local 3 3: aload 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
astore 4
start local 4 4: aload 4
arraylength
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
arraylength
if_icmpge 12
5: aload 4
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
arraylength
aload 4
arraylength
isub
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: iconst_0
istore 5
start local 5 7: goto 10
8: StackMap locals: org.bouncycastle.crypto.params.ParametersWithIV byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
iload 5
iconst_0
bastore
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
arraylength
aload 4
arraylength
isub
if_icmplt 8
end local 5 11: goto 13
12: StackMap locals:
StackMap stack:
aload 4
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.reset:()V
14: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
iconst_1
aload 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
invokeinterface org.bouncycastle.crypto.BlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
end local 4 end local 3 15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.reset:()V
17: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
iconst_1
aload 2
invokeinterface org.bouncycastle.crypto.BlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 19 1 encrypting Z
0 19 2 params Lorg/bouncycastle/crypto/CipherParameters;
3 15 3 ivParam Lorg/bouncycastle/crypto/params/ParametersWithIV;
4 15 4 iv [B
7 11 5 i I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
encrypting
params
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.CFBBlockCipher.cipher: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 "/CFB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
bipush 8
imul
invokevirtual java.lang.StringBuilder.append:(I)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/CFBBlockCipher;
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.CFBBlockCipher.blockSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
public int processBlock(byte[], int, byte[], int);
descriptor: ([BI[BI)I
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
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.encrypting:Z
ifeq 1
aload 0
aload 1
iload 2
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.encryptBlock:([BI[BI)I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
iload 2
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.decryptBlock:([BI[BI)I
StackMap locals:
StackMap stack: int
2: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 3 1 in [B
0 3 2 inOff I
0 3 3 out [B
0 3 4 outOff I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException, java.lang.IllegalStateException
MethodParameters:
Name Flags
in
inOff
out
outOff
public int encryptBlock(byte[], int, byte[], int);
descriptor: ([BI[BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
iadd
aload 1
arraylength
if_icmple 2
1: new org.bouncycastle.crypto.DataLengthException
dup
ldc "input buffer too short"
invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
iadd
aload 3
arraylength
if_icmple 4
3: new org.bouncycastle.crypto.DataLengthException
dup
ldc "output buffer too short"
invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
iconst_0
invokeinterface org.bouncycastle.crypto.BlockCipher.processBlock:([BI[BI)I
pop
5: iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 5
iadd
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
iload 5
baload
aload 1
iload 2
iload 5
iadd
baload
ixor
i2b
bastore
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
if_icmplt 7
end local 5 10: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
arraylength
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 3
iload 4
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
arraylength
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
isub
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
ireturn
end local 4 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/modes/CFBBlockCipher;
0 13 1 in [B
0 13 2 inOff I
0 13 3 out [B
0 13 4 outOff I
6 10 5 i I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException, java.lang.IllegalStateException
MethodParameters:
Name Flags
in
inOff
out
outOff
public int decryptBlock(byte[], int, byte[], int);
descriptor: ([BI[BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
iadd
aload 1
arraylength
if_icmple 2
1: new org.bouncycastle.crypto.DataLengthException
dup
ldc "input buffer too short"
invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
iadd
aload 3
arraylength
if_icmple 4
3: new org.bouncycastle.crypto.DataLengthException
dup
ldc "output buffer too short"
invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
iconst_0
invokeinterface org.bouncycastle.crypto.BlockCipher.processBlock:([BI[BI)I
pop
5: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
arraylength
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
arraylength
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
isub
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: iconst_0
istore 5
start local 5 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 3
iload 4
iload 5
iadd
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
iload 5
baload
aload 1
iload 2
iload 5
iadd
baload
ixor
i2b
bastore
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
if_icmplt 9
end local 5 12: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
ireturn
end local 4 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/modes/CFBBlockCipher;
0 13 1 in [B
0 13 2 inOff I
0 13 3 out [B
0 13 4 outOff I
8 12 5 i I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException, java.lang.IllegalStateException
MethodParameters:
Name Flags
in
inOff
out
outOff
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.IV:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.reset:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
}
SourceFile: "CFBBlockCipher.java"