class com.sun.crypto.provider.CipherBlockChaining extends com.sun.crypto.provider.FeedbackCipher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.crypto.provider.CipherBlockChaining
super_class: com.sun.crypto.provider.FeedbackCipher
{
protected byte[] r;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
private byte[] k;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] rSave;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.crypto.provider.SymmetricCipher);
descriptor: (Lcom/sun/crypto/provider/SymmetricCipher;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.crypto.provider.FeedbackCipher.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;)V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.CipherBlockChaining.rSave:[B
2: aload 0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
newarray 8
putfield com.sun.crypto.provider.CipherBlockChaining.k:[B
3: aload 0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
newarray 8
putfield com.sun.crypto.provider.CipherBlockChaining.r:[B
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
0 5 1 embeddedCipher Lcom/sun/crypto/provider/SymmetricCipher;
MethodParameters:
Name Flags
embeddedCipher
java.lang.String getFeedback();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "CBC"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
void init(boolean, java.lang.String, byte[], byte[]);
descriptor: (ZLjava/lang/String;[B[B)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnull 1
aload 4
ifnull 1
aload 4
arraylength
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
if_icmpeq 2
1: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Internal error"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield com.sun.crypto.provider.CipherBlockChaining.iv:[B
3: aload 0
invokevirtual com.sun.crypto.provider.CipherBlockChaining.reset:()V
4: aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
iload 1
aload 2
aload 3
invokevirtual com.sun.crypto.provider.SymmetricCipher.init:(ZLjava/lang/String;[B)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
0 6 1 decrypting Z
0 6 2 algorithm Ljava/lang/String;
0 6 3 key [B
0 6 4 iv [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
decrypting
algorithm
key
iv
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.iv:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
void save();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.rSave:[B
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
newarray 8
putfield com.sun.crypto.provider.CipherBlockChaining.rSave:[B
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.rSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
void restore();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.rSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
void encrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)V
flags: (0x0000)
Code:
stack=5, locals=8, 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
istore 7
start local 7 1: goto 10
2: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int top int
StackMap stack:
iconst_0
istore 6
start local 6 3: goto 6
4: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int int int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.k:[B
iload 6
aload 1
iload 6
iload 2
iadd
baload
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iload 6
baload
ixor
i2b
bastore
5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
if_icmplt 4
7: aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.k:[B
iconst_0
aload 4
iload 5
invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
8: aload 4
iload 5
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: iload 2
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
iadd
istore 2
iload 5
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
iadd
istore 5
end local 6 10: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int top int
StackMap stack:
iload 2
iload 7
if_icmplt 2
11: return
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 12 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
0 12 1 plain [B
0 12 2 plainOffset I
0 12 3 plainLen I
0 12 4 cipher [B
0 12 5 cipherOffset I
3 10 6 i I
1 12 7 endIndex I
MethodParameters:
Name Flags
plain
plainOffset
plainLen
cipher
cipherOffset
void decrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aconst_null
astore 7
start local 7 1: iload 2
iload 3
iadd
istore 8
start local 8 2: aload 1
aload 4
if_acmpne 17
iload 2
iload 5
if_icmplt 17
3: iload 2
iload 5
isub
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
if_icmpge 17
4: aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 7
5: goto 17
6: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int top byte[] int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.k:[B
iconst_0
invokevirtual com.sun.crypto.provider.SymmetricCipher.decryptBlock:([BI[BI)V
7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int int byte[] int
StackMap stack:
aload 4
iload 6
iload 5
iadd
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.k:[B
iload 6
baload
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iload 6
baload
ixor
i2b
bastore
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
if_icmplt 9
12: aload 7
ifnonnull 15
13: aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 7
iload 2
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.r:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
iadd
istore 2
iload 5
aload 0
getfield com.sun.crypto.provider.CipherBlockChaining.blockSize:I
iadd
istore 5
end local 6 17: StackMap locals: com.sun.crypto.provider.CipherBlockChaining byte[] int int byte[] int top byte[] int
StackMap stack:
iload 2
iload 8
if_icmplt 6
18: return
end local 8 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 19 0 this Lcom/sun/crypto/provider/CipherBlockChaining;
0 19 1 cipher [B
0 19 2 cipherOffset I
0 19 3 cipherLen I
0 19 4 plain [B
0 19 5 plainOffset I
8 17 6 i I
1 19 7 cipherOrig [B
2 19 8 endIndex I
MethodParameters:
Name Flags
cipher
cipherOffset
cipherLen
plain
plainOffset
}
SourceFile: "CipherBlockChaining.java"