public class org.bouncycastle.crypto.engines.DESedeEngine extends org.bouncycastle.crypto.engines.DESEngine
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.engines.DESedeEngine
super_class: org.bouncycastle.crypto.engines.DESEngine
{
protected static final int BLOCK_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private int[] workingKey1;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int[] workingKey2;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int[] workingKey3;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
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 org.bouncycastle.crypto.engines.DESEngine.<init>:()V
1: aload 0
aconst_null
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
2: aload 0
aconst_null
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey2:[I
3: aload 0
aconst_null
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey3:[I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/engines/DESedeEngine;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.bouncycastle.crypto.params.KeyParameter
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid parameter passed to DESede 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.KeyParameter
invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
astore 3
start local 3 3: aload 3
arraylength
bipush 24
if_icmpeq 5
aload 3
arraylength
bipush 16
if_icmpeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "key size must be 16 or 24 bytes."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: byte[]
StackMap stack:
aload 0
iload 1
putfield org.bouncycastle.crypto.engines.DESedeEngine.forEncryption:Z
6: bipush 8
newarray 8
astore 4
start local 4 7: aload 3
iconst_0
aload 4
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
aload 0
iload 1
aload 4
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.generateWorkingKey:(Z[B)[I
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
9: bipush 8
newarray 8
astore 5
start local 5 10: aload 3
bipush 8
aload 5
iconst_0
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
aload 0
iload 1
ifeq 12
iconst_0
goto 13
StackMap locals: org.bouncycastle.crypto.engines.DESedeEngine int org.bouncycastle.crypto.CipherParameters byte[] byte[] byte[]
StackMap stack: org.bouncycastle.crypto.engines.DESedeEngine org.bouncycastle.crypto.engines.DESedeEngine
12: iconst_1
StackMap locals: org.bouncycastle.crypto.engines.DESedeEngine int org.bouncycastle.crypto.CipherParameters byte[] byte[] byte[]
StackMap stack: org.bouncycastle.crypto.engines.DESedeEngine org.bouncycastle.crypto.engines.DESedeEngine int
13: aload 5
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.generateWorkingKey:(Z[B)[I
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey2:[I
14: aload 3
arraylength
bipush 24
if_icmpne 19
15: bipush 8
newarray 8
astore 6
start local 6 16: aload 3
bipush 16
aload 6
iconst_0
aload 6
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: aload 0
aload 0
iload 1
aload 6
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.generateWorkingKey:(Z[B)[I
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey3:[I
end local 6 18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
putfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey3:[I
20: StackMap locals:
StackMap stack:
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 21 0 this Lorg/bouncycastle/crypto/engines/DESedeEngine;
0 21 1 encrypting Z
0 21 2 params Lorg/bouncycastle/crypto/CipherParameters;
3 21 3 keyMaster [B
7 21 4 key1 [B
10 21 5 key2 [B
16 18 6 key3 [B
MethodParameters:
Name Flags
encrypting
params
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 "DESede"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/DESedeEngine;
public int getBlockSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 8
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/engines/DESedeEngine;
public int processBlock(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: aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "DESede engine not initialised"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
bipush 8
iadd
aload 1
arraylength
if_icmple 4
3: new org.bouncycastle.crypto.DataLengthException
dup
ldc "input buffer too short"
invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 4
bipush 8
iadd
aload 3
arraylength
if_icmple 6
5: new org.bouncycastle.crypto.OutputLengthException
dup
ldc "output buffer too short"
invokespecial org.bouncycastle.crypto.OutputLengthException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
bipush 8
newarray 8
astore 5
start local 5 7: aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.forEncryption:Z
ifeq 12
8: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
aload 1
iload 2
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
9: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey2:[I
aload 5
iconst_0
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
10: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey3:[I
aload 5
iconst_0
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
11: goto 15
12: StackMap locals: byte[]
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey3:[I
aload 1
iload 2
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
13: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey2:[I
aload 5
iconst_0
aload 5
iconst_0
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
14: aload 0
aload 0
getfield org.bouncycastle.crypto.engines.DESedeEngine.workingKey1:[I
aload 5
iconst_0
aload 3
iload 4
invokevirtual org.bouncycastle.crypto.engines.DESedeEngine.desFunc:([I[BI[BI)V
15: StackMap locals:
StackMap stack:
bipush 8
ireturn
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/DESedeEngine;
0 16 1 in [B
0 16 2 inOff I
0 16 3 out [B
0 16 4 outOff I
7 16 5 temp [B
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/DESedeEngine;
}
SourceFile: "DESedeEngine.java"