final class com.sun.crypto.provider.OutputFeedback extends com.sun.crypto.provider.FeedbackCipher
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.OutputFeedback
super_class: com.sun.crypto.provider.FeedbackCipher
{
private byte[] k;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] register;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int numBytes;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] registerSave;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.crypto.provider.SymmetricCipher, int);
descriptor: (Lcom/sun/crypto/provider/SymmetricCipher;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 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.OutputFeedback.k:[B
2: aload 0
aconst_null
putfield com.sun.crypto.provider.OutputFeedback.register:[B
3: aload 0
aconst_null
putfield com.sun.crypto.provider.OutputFeedback.registerSave:[B
4: iload 2
aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
if_icmple 6
5: aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
istore 2
6: StackMap locals: com.sun.crypto.provider.OutputFeedback com.sun.crypto.provider.SymmetricCipher int
StackMap stack:
aload 0
iload 2
putfield com.sun.crypto.provider.OutputFeedback.numBytes:I
7: aload 0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
newarray 8
putfield com.sun.crypto.provider.OutputFeedback.k:[B
8: aload 0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
newarray 8
putfield com.sun.crypto.provider.OutputFeedback.register:[B
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/crypto/provider/OutputFeedback;
0 10 1 embeddedCipher Lcom/sun/crypto/provider/SymmetricCipher;
0 10 2 numBytes I
MethodParameters:
Name Flags
embeddedCipher
numBytes
java.lang.String getFeedback();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "OFB"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/OutputFeedback;
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.OutputFeedback.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.OutputFeedback.iv:[B
3: aload 0
invokevirtual com.sun.crypto.provider.OutputFeedback.reset:()V
4: aload 0
getfield com.sun.crypto.provider.OutputFeedback.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
iconst_0
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/OutputFeedback;
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.OutputFeedback.iv:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.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/OutputFeedback;
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.OutputFeedback.registerSave:[B
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
newarray 8
putfield com.sun.crypto.provider.OutputFeedback.registerSave:[B
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.registerSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.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/OutputFeedback;
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.OutputFeedback.registerSave:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.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/OutputFeedback;
int encrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
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 3
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
invokestatic sun.security.util.ArrayUtil.blockSizeCheck:(II)V
1: aload 1
iload 2
iload 3
invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
2: aload 4
iload 5
iload 3
invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
3: aload 0
getfield com.sun.crypto.provider.OutputFeedback.blockSize:I
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
isub
istore 6
start local 6 4: iload 3
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
idiv
istore 7
start local 7 5: goto 19
6: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.OutputFeedback.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.k:[B
iconst_0
invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
7: iconst_0
istore 8
start local 8 8: goto 13
9: StackMap locals: int
StackMap stack:
aload 4
iload 8
iload 5
iadd
10: aload 0
getfield com.sun.crypto.provider.OutputFeedback.k:[B
iload 8
baload
aload 1
iload 8
iload 2
iadd
baload
ixor
i2b
11: bastore
12: iinc 8 1
StackMap locals:
StackMap stack:
13: iload 8
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
if_icmplt 9
end local 8 14: iload 6
ifeq 16
15: aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.OutputFeedback.k:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iload 6
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: iload 2
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
iadd
istore 2
iload 5
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
iadd
istore 5
18: iinc 7 -1
19: StackMap locals:
StackMap stack:
iload 7
ifgt 6
20: iload 3
ireturn
end local 7 end local 6 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 Lcom/sun/crypto/provider/OutputFeedback;
0 21 1 plain [B
0 21 2 plainOffset I
0 21 3 plainLen I
0 21 4 cipher [B
0 21 5 cipherOffset I
4 21 6 nShift I
5 21 7 loopCount I
8 14 8 i I
MethodParameters:
Name Flags
plain
plainOffset
plainLen
cipher
cipherOffset
int encryptFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
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: aload 1
iload 2
iload 3
invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
1: aload 4
iload 5
iload 3
invokestatic sun.security.util.ArrayUtil.nullAndBoundsCheck:([BII)V
2: iload 3
aload 0
getfield com.sun.crypto.provider.OutputFeedback.numBytes:I
irem
istore 6
start local 6 3: aload 0
aload 1
iload 2
iload 3
iload 6
isub
4: aload 4
iload 5
5: invokevirtual com.sun.crypto.provider.OutputFeedback.encrypt:([BII[BI)I
istore 7
start local 7 6: iload 2
iload 7
iadd
istore 2
7: iload 5
iload 7
iadd
istore 5
8: iload 6
ifeq 17
9: aload 0
getfield com.sun.crypto.provider.OutputFeedback.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 0
getfield com.sun.crypto.provider.OutputFeedback.register:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.OutputFeedback.k:[B
iconst_0
invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
10: iconst_0
istore 8
start local 8 11: goto 16
12: StackMap locals: int int int
StackMap stack:
aload 4
iload 8
iload 5
iadd
13: aload 0
getfield com.sun.crypto.provider.OutputFeedback.k:[B
iload 8
baload
aload 1
iload 8
iload 2
iadd
baload
ixor
i2b
14: bastore
15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
iload 6
if_icmplt 12
end local 8 17: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 7 end local 6 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 18 0 this Lcom/sun/crypto/provider/OutputFeedback;
0 18 1 plain [B
0 18 2 plainOffset I
0 18 3 plainLen I
0 18 4 cipher [B
0 18 5 cipherOffset I
3 18 6 oddBytes I
6 18 7 len I
11 17 8 i I
MethodParameters:
Name Flags
plain
plainOffset
plainLen
cipher
cipherOffset
int decrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.OutputFeedback.encrypt:([BII[BI)I
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 1 0 this Lcom/sun/crypto/provider/OutputFeedback;
0 1 1 cipher [B
0 1 2 cipherOffset I
0 1 3 cipherLen I
0 1 4 plain [B
0 1 5 plainOffset I
MethodParameters:
Name Flags
cipher
cipherOffset
cipherLen
plain
plainOffset
int decryptFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.OutputFeedback.encryptFinal:([BII[BI)I
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 1 0 this Lcom/sun/crypto/provider/OutputFeedback;
0 1 1 cipher [B
0 1 2 cipherOffset I
0 1 3 cipherLen I
0 1 4 plain [B
0 1 5 plainOffset I
MethodParameters:
Name Flags
cipher
cipherOffset
cipherLen
plain
plainOffset
}
SourceFile: "OutputFeedback.java"