public class org.bouncycastle.crypto.engines.RC564Engine implements org.bouncycastle.crypto.BlockCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.engines.RC564Engine
super_class: java.lang.Object
{
private static final int wordSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int bytesPerWord;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private int _noRounds;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long[] _S;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private static final long P64;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5196783011329398165
private static final long Q64;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7046029254386353131
private boolean forEncryption;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 12
putfield org.bouncycastle.crypto.engines.RC564Engine._noRounds:I
2: aload 0
aconst_null
putfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
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: ldc "RC5-64"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
public int getBlockSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
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 Lorg/bouncycastle/crypto/engines/RC564Engine;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.bouncycastle.crypto.params.RC5Parameters
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid parameter passed to RC564 init - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
checkcast org.bouncycastle.crypto.params.RC5Parameters
astore 3
start local 3 3: aload 0
iload 1
putfield org.bouncycastle.crypto.engines.RC564Engine.forEncryption:Z
4: aload 0
aload 3
invokevirtual org.bouncycastle.crypto.params.RC5Parameters.getRounds:()I
putfield org.bouncycastle.crypto.engines.RC564Engine._noRounds:I
5: aload 0
aload 3
invokevirtual org.bouncycastle.crypto.params.RC5Parameters.getKey:()[B
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.setKey:([B)V
6: return
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/engines/RC564Engine;
0 7 1 forEncryption Z
0 7 2 params Lorg/bouncycastle/crypto/CipherParameters;
3 7 3 p Lorg/bouncycastle/crypto/params/RC5Parameters;
MethodParameters:
Name Flags
forEncryption
params
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.engines.RC564Engine.forEncryption:Z
ifeq 1
aload 0
aload 1
iload 2
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.encryptBlock:([BI[BI)I
goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.decryptBlock:([BI[BI)I
2: StackMap locals:
StackMap stack: int
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/engines/RC564Engine;
0 3 1 in [B
0 3 2 inOff I
0 3 3 out [B
0 3 4 outOff I
MethodParameters:
Name Flags
in
inOff
out
outOff
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
private void setKey(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=11, args_size=2
start local 0 start local 1 0: aload 1
arraylength
bipush 7
iadd
bipush 8
idiv
newarray 11
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: long[] int
StackMap stack:
aload 2
iload 3
bipush 8
idiv
dup2
laload
aload 1
iload 3
baload
sipush 255
iand
i2l
bipush 8
iload 3
bipush 8
irem
imul
lshl
ladd
lastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 1
arraylength
if_icmpne 3
end local 3 6: aload 0
iconst_2
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._noRounds:I
iconst_1
iadd
imul
newarray 11
putfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
7: aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_0
ldc -5196783011329398165
lastore
8: iconst_1
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iload 3
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iload 3
iconst_1
isub
laload
ldc -7046029254386353131
ladd
lastore
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
arraylength
if_icmplt 10
end local 3 13: aload 2
arraylength
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
arraylength
if_icmple 16
14: iconst_3
aload 2
arraylength
imul
istore 3
start local 3 15: goto 17
end local 3 16: StackMap locals:
StackMap stack:
iconst_3
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
arraylength
imul
istore 3
start local 3 17: StackMap locals: int
StackMap stack:
lconst_0
lstore 4
start local 4 18: lconst_0
lstore 6
start local 6 19: iconst_0
istore 8
start local 8 20: iconst_0
istore 9
start local 9 21: iconst_0
istore 10
start local 10 22: goto 28
23: StackMap locals: org.bouncycastle.crypto.engines.RC564Engine byte[] long[] int long long int int int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iload 8
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iload 8
laload
lload 4
ladd
lload 6
ladd
ldc 3
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateLeft:(JJ)J
dup2_x2
lastore
lstore 4
24: aload 2
iload 9
aload 0
aload 2
iload 9
laload
lload 4
ladd
lload 6
ladd
lload 4
lload 6
ladd
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateLeft:(JJ)J
dup2_x2
lastore
lstore 6
25: iload 8
iconst_1
iadd
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
arraylength
irem
istore 8
26: iload 9
iconst_1
iadd
aload 2
arraylength
irem
istore 9
27: iinc 10 1
StackMap locals:
StackMap stack:
28: iload 10
iload 3
if_icmplt 23
end local 10 29: return
end local 9 end local 8 end local 6 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/engines/RC564Engine;
0 30 1 key [B
1 30 2 L [J
2 6 3 i I
9 13 3 i I
15 16 3 iter I
17 30 3 iter I
18 30 4 A J
19 30 6 B J
20 30 8 i I
21 30 9 j I
22 29 10 k I
MethodParameters:
Name Flags
key
private int encryptBlock(byte[], int, byte[], int);
descriptor: ([BI[BI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, 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
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.bytesToWord:([BI)J
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_0
laload
ladd
lstore 5
start local 5 1: aload 0
aload 1
iload 2
bipush 8
iadd
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.bytesToWord:([BI)J
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_1
laload
ladd
lstore 7
start local 7 2: iconst_1
istore 9
start local 9 3: goto 7
4: StackMap locals: long long int
StackMap stack:
aload 0
lload 5
lload 7
lxor
lload 7
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateLeft:(JJ)J
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_2
iload 9
imul
laload
ladd
lstore 5
5: aload 0
lload 7
lload 5
lxor
lload 5
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateLeft:(JJ)J
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_2
iload 9
imul
iconst_1
iadd
laload
ladd
lstore 7
6: iinc 9 1
StackMap locals:
StackMap stack:
7: iload 9
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._noRounds:I
if_icmple 4
end local 9 8: aload 0
lload 5
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.wordToBytes:(J[BI)V
9: aload 0
lload 7
aload 3
iload 4
bipush 8
iadd
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.wordToBytes:(J[BI)V
10: bipush 16
ireturn
end local 7 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 11 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
0 11 1 in [B
0 11 2 inOff I
0 11 3 out [B
0 11 4 outOff I
1 11 5 A J
2 11 7 B J
3 8 9 i I
MethodParameters:
Name Flags
in
inOff
out
outOff
private int decryptBlock(byte[], int, byte[], int);
descriptor: ([BI[BI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, 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
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.bytesToWord:([BI)J
lstore 5
start local 5 1: aload 0
aload 1
iload 2
bipush 8
iadd
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.bytesToWord:([BI)J
lstore 7
start local 7 2: aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._noRounds:I
istore 9
start local 9 3: goto 7
4: StackMap locals: long long int
StackMap stack:
aload 0
lload 7
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_2
iload 9
imul
iconst_1
iadd
laload
lsub
lload 5
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateRight:(JJ)J
lload 5
lxor
lstore 7
5: aload 0
lload 5
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_2
iload 9
imul
laload
lsub
lload 7
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.rotateRight:(JJ)J
lload 7
lxor
lstore 5
6: iinc 9 -1
StackMap locals:
StackMap stack:
7: iload 9
iconst_1
if_icmpge 4
end local 9 8: aload 0
lload 5
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_0
laload
lsub
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.wordToBytes:(J[BI)V
9: aload 0
lload 7
aload 0
getfield org.bouncycastle.crypto.engines.RC564Engine._S:[J
iconst_1
laload
lsub
aload 3
iload 4
bipush 8
iadd
invokevirtual org.bouncycastle.crypto.engines.RC564Engine.wordToBytes:(J[BI)V
10: bipush 16
ireturn
end local 7 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 11 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
0 11 1 in [B
0 11 2 inOff I
0 11 3 out [B
0 11 4 outOff I
1 11 5 A J
2 11 7 B J
3 8 9 i I
MethodParameters:
Name Flags
in
inOff
out
outOff
private long rotateLeft(long, long);
descriptor: (JJ)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
ldc 63
land
l2i
lshl
lload 1
ldc 64
lload 3
ldc 63
land
lsub
l2i
lushr
lor
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
0 1 1 x J
0 1 3 y J
MethodParameters:
Name Flags
x
y
private long rotateRight(long, long);
descriptor: (JJ)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
ldc 63
land
l2i
lushr
lload 1
ldc 64
lload 3
ldc 63
land
lsub
l2i
lshl
lor
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
0 1 1 x J
0 1 3 y J
MethodParameters:
Name Flags
x
y
private long bytesToWord(byte[], int);
descriptor: ([BI)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 3
start local 3 1: bipush 7
istore 5
start local 5 2: goto 5
3: StackMap locals: long int
StackMap stack:
lload 3
bipush 8
lshl
aload 1
iload 5
iload 2
iadd
baload
sipush 255
iand
i2l
ladd
lstore 3
4: iinc 5 -1
StackMap locals:
StackMap stack:
5: iload 5
ifge 3
end local 5 6: lload 3
lreturn
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/engines/RC564Engine;
0 7 1 src [B
0 7 2 srcOff I
1 7 3 word J
2 6 5 i I
MethodParameters:
Name Flags
src
srcOff
private void wordToBytes(long, byte[], int);
descriptor: (J[BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 3
iload 5
iload 4
iadd
lload 1
l2i
i2b
bastore
3: lload 1
bipush 8
lushr
lstore 1
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
bipush 8
if_icmplt 2
end local 5 6: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/engines/RC564Engine;
0 7 1 word J
0 7 3 dst [B
0 7 4 dstOff I
1 6 5 i I
MethodParameters:
Name Flags
word
dst
dstOff
}
SourceFile: "RC564Engine.java"