public class org.bouncycastle.crypto.modes.CFBBlockCipher extends org.bouncycastle.crypto.StreamBlockCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.modes.CFBBlockCipher
super_class: org.bouncycastle.crypto.StreamBlockCipher
{
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 byte[] inBuf;
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
private int byteCount;
descriptor: I
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
aload 1
invokespecial org.bouncycastle.crypto.StreamBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;)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: aload 0
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
newarray 8
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.inBuf:[B
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 9 1 cipher Lorg/bouncycastle/crypto/BlockCipher;
0 9 2 bitBlockSize I
MethodParameters:
Name Flags
cipher
bitBlockSize
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 17
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 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
ifnull 20
15: 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 16: goto 20
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.reset:()V
18: aload 2
ifnull 20
19: 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
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 21 1 encrypting Z
0 21 2 params Lorg/bouncycastle/crypto/CipherParameters;
3 16 3 ivParam Lorg/bouncycastle/crypto/params/ParametersWithIV;
4 16 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;
protected byte calculateByte(byte);
descriptor: (B)B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.encrypting:Z
ifeq 1
aload 0
iload 1
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.encryptByte:(B)B
goto 2
StackMap locals:
StackMap stack:
1: aload 0
iload 1
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.decryptByte:(B)B
StackMap locals:
StackMap stack: int
2: ireturn
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
Exceptions:
throws org.bouncycastle.crypto.DataLengthException, java.lang.IllegalStateException
MethodParameters:
Name Flags
in
private byte encryptByte(byte);
descriptor: (B)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
ifne 2
1: 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
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
baload
iload 1
ixor
i2b
istore 2
start local 2 3: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.inBuf:[B
aload 0
dup
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
iload 2
bastore
4: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
if_icmpne 8
5: aload 0
iconst_0
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
6: 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
7: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.inBuf:[B
iconst_0
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
8: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 9 1 in B
3 9 2 rv B
MethodParameters:
Name Flags
in
private byte decryptByte(byte);
descriptor: (B)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
ifne 2
1: 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
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.inBuf:[B
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
iload 1
bastore
3: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbOutV:[B
aload 0
dup
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
baload
iload 1
ixor
i2b
istore 2
start local 2 4: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
if_icmpne 8
5: aload 0
iconst_0
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
6: 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
7: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.inBuf:[B
iconst_0
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
8: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 9 1 in B
4 9 2 rv B
MethodParameters:
Name Flags
in
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=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.processBytes:([BII[BI)I
pop
1: 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 2 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 2 1 in [B
0 2 2 inOff I
0 2 3 out [B
0 2 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=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.processBytes:([BII[BI)I
pop
1: 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 2 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 2 1 in [B
0 2 2 inOff I
0 2 3 out [B
0 2 4 outOff 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=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.blockSize:I
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.modes.CFBBlockCipher.processBytes:([BII[BI)I
pop
1: 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 2 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
0 2 1 in [B
0 2 2 inOff I
0 2 3 out [B
0 2 4 outOff I
Exceptions:
throws org.bouncycastle.crypto.DataLengthException, java.lang.IllegalStateException
MethodParameters:
Name Flags
in
inOff
out
outOff
public byte[] getCurrentIV();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cfbV:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
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.inBuf:[B
iconst_0
invokestatic org.bouncycastle.util.Arrays.fill:([BB)V
2: aload 0
iconst_0
putfield org.bouncycastle.crypto.modes.CFBBlockCipher.byteCount:I
3: aload 0
getfield org.bouncycastle.crypto.modes.CFBBlockCipher.cipher:Lorg/bouncycastle/crypto/BlockCipher;
invokeinterface org.bouncycastle.crypto.BlockCipher.reset:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/modes/CFBBlockCipher;
}
SourceFile: "CFBBlockCipher.java"