final class com.sun.crypto.provider.ElectronicCodeBook 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.ElectronicCodeBook
super_class: com.sun.crypto.provider.FeedbackCipher
{
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 2 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 "ECB"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
void reset();
descriptor: ()V
flags: (0x0000)
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 Lcom/sun/crypto/provider/ElectronicCodeBook;
void save();
descriptor: ()V
flags: (0x0000)
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 Lcom/sun/crypto/provider/ElectronicCodeBook;
void restore();
descriptor: ()V
flags: (0x0000)
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 Lcom/sun/crypto/provider/ElectronicCodeBook;
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 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
getfield com.sun.crypto.provider.ElectronicCodeBook.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
iload 1
aload 2
aload 3
invokevirtual com.sun.crypto.provider.SymmetricCipher.init:(ZLjava/lang/String;[B)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 4 1 decrypting Z
0 4 2 algorithm Ljava/lang/String;
0 4 3 key [B
0 4 4 iv [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
decrypting
algorithm
key
iv
private int implECBEncrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
istore 6
start local 6 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 1
iload 2
aload 4
iload 5
invokevirtual com.sun.crypto.provider.SymmetricCipher.encryptBlock:([BI[BI)V
3: iload 2
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
iadd
istore 2
4: iload 5
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
iadd
istore 5
5: iload 6
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
isub
istore 6
StackMap locals:
StackMap stack:
6: iload 6
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
if_icmpge 2
end local 6 7: iload 3
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 8 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 8 1 in [B
0 8 2 inOff I
0 8 3 len I
0 8 4 out [B
0 8 5 outOff I
1 7 6 i I
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
in
inOff
len
out
outOff
int encrypt(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: iload 3
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize: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
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.ElectronicCodeBook.implECBEncrypt:([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 4 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 4 1 in [B
0 4 2 inOff I
0 4 3 len I
0 4 4 out [B
0 4 5 outOff I
MethodParameters:
Name Flags
in
inOff
len
out
outOff
private int implECBDecrypt(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
istore 6
start local 6 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.embeddedCipher:Lcom/sun/crypto/provider/SymmetricCipher;
aload 1
iload 2
aload 4
iload 5
invokevirtual com.sun.crypto.provider.SymmetricCipher.decryptBlock:([BI[BI)V
3: iload 2
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
iadd
istore 2
4: iload 5
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
iadd
istore 5
5: iload 6
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
isub
istore 6
StackMap locals:
StackMap stack:
6: iload 6
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize:I
if_icmpge 2
end local 6 7: iload 3
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 8 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 8 1 in [B
0 8 2 inOff I
0 8 3 len I
0 8 4 out [B
0 8 5 outOff I
1 7 6 i I
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
in
inOff
len
out
outOff
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: iload 3
aload 0
getfield com.sun.crypto.provider.ElectronicCodeBook.blockSize: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
aload 1
iload 2
iload 3
aload 4
iload 5
invokevirtual com.sun.crypto.provider.ElectronicCodeBook.implECBDecrypt:([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 4 0 this Lcom/sun/crypto/provider/ElectronicCodeBook;
0 4 1 in [B
0 4 2 inOff I
0 4 3 len I
0 4 4 out [B
0 4 5 outOff I
MethodParameters:
Name Flags
in
inOff
len
out
outOff
}
SourceFile: "ElectronicCodeBook.java"