public class org.bouncycastle.crypto.engines.VMPCEngine implements org.bouncycastle.crypto.StreamCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.engines.VMPCEngine
super_class: java.lang.Object
{
protected byte n;
descriptor: B
flags: (0x0004) ACC_PROTECTED
protected byte[] P;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected byte s;
descriptor: B
flags: (0x0004) ACC_PROTECTED
protected byte[] workingIV;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected byte[] workingKey;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
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
iconst_0
putfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
2: aload 0
aconst_null
putfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
3: aload 0
iconst_0
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
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 "VMPC"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithIV
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "VMPC init parameters must include an IV"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithIV
astore 3
start local 3 5: aload 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
checkcast org.bouncycastle.crypto.params.KeyParameter
astore 4
start local 4 6: aload 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
instanceof org.bouncycastle.crypto.params.KeyParameter
ifne 10
7: new java.lang.IllegalArgumentException
dup
8: ldc "VMPC init parameters must include a key"
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: org.bouncycastle.crypto.params.ParametersWithIV org.bouncycastle.crypto.params.KeyParameter
StackMap stack:
aload 0
aload 3
invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
putfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
11: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
ifnull 12
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
arraylength
iconst_1
if_icmplt 12
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
arraylength
sipush 768
if_icmple 13
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "VMPC requires 1 to 768 bytes of IV"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
putfield org.bouncycastle.crypto.engines.VMPCEngine.workingKey:[B
14: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingKey:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
invokevirtual org.bouncycastle.crypto.engines.VMPCEngine.initKey:([B[B)V
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
0 16 1 forEncryption Z
0 16 2 params Lorg/bouncycastle/crypto/CipherParameters;
5 16 3 ivParams Lorg/bouncycastle/crypto/params/ParametersWithIV;
6 16 4 key Lorg/bouncycastle/crypto/params/KeyParameter;
MethodParameters:
Name Flags
forEncryption
params
protected void initKey(byte[], byte[]);
descriptor: ([B[B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
1: aload 0
sipush 256
newarray 8
putfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
iload 3
i2b
bastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
sipush 256
if_icmplt 4
end local 3 7: iconst_0
istore 3
start local 3 8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
baload
iadd
aload 1
iload 3
aload 1
arraylength
irem
baload
iadd
sipush 255
iand
baload
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
10: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
baload
istore 4
start local 4 11: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
bastore
12: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
iload 4
bastore
end local 4 13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
sipush 768
if_icmplt 9
end local 3 15: iconst_0
istore 3
start local 3 16: goto 22
17: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
baload
iadd
aload 2
iload 3
aload 2
arraylength
irem
baload
iadd
sipush 255
iand
baload
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
18: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
baload
istore 4
start local 4 19: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
iload 3
sipush 255
iand
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
bastore
20: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
iload 4
bastore
end local 4 21: iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
sipush 768
if_icmplt 17
end local 3 23: aload 0
iconst_0
putfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
0 25 1 keyBytes [B
0 25 2 ivBytes [B
3 7 3 i I
8 15 3 m I
11 13 4 temp B
16 23 3 m I
19 21 4 temp B
MethodParameters:
Name Flags
keyBytes
ivBytes
public void processBytes(byte[], int, int, byte[], int);
descriptor: ([BII[BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 3
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 5
iload 3
iadd
aload 4
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:
iconst_0
istore 6
start local 6 5: goto 14
6: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
baload
iadd
sipush 255
iand
baload
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
7: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
sipush 255
iand
baload
iconst_1
iadd
sipush 255
iand
baload
istore 7
start local 7 8: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
baload
istore 8
start local 8 9: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
bastore
10: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
iload 8
bastore
11: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
iconst_1
iadd
sipush 255
iand
i2b
putfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
12: aload 4
iload 6
iload 5
iadd
aload 1
iload 6
iload 2
iadd
baload
iload 7
ixor
i2b
bastore
end local 8 end local 7 13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 3
if_icmplt 6
end local 6 15: 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 16 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
0 16 1 in [B
0 16 2 inOff I
0 16 3 len I
0 16 4 out [B
0 16 5 outOff I
5 15 6 i I
8 13 7 z B
9 13 8 temp B
MethodParameters:
Name Flags
in
inOff
len
out
outOff
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingKey:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.workingIV:[B
invokevirtual org.bouncycastle.crypto.engines.VMPCEngine.initKey:([B[B)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/engines/VMPCEngine;
public byte returnByte(byte);
descriptor: (B)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
baload
iadd
sipush 255
iand
baload
putfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
1: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
sipush 255
iand
baload
iconst_1
iadd
sipush 255
iand
baload
istore 2
start local 2 2: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
baload
istore 3
start local 3 3: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
sipush 255
iand
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
baload
bastore
4: aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.P:[B
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.s:B
sipush 255
iand
iload 3
bastore
5: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
iconst_1
iadd
sipush 255
iand
i2b
putfield org.bouncycastle.crypto.engines.VMPCEngine.n:B
6: iload 1
iload 2
ixor
i2b
ireturn
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/VMPCEngine;
0 7 1 in B
2 7 2 z B
3 7 3 temp B
MethodParameters:
Name Flags
in
}
SourceFile: "VMPCEngine.java"