public class org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions
super_class: java.lang.Object
{
private static final long embeddedCipherOffset;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long rOffset;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Class<?> cipherBlockChainingClass;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private static final java.lang.Class<?> feedbackCipherClass;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: ldc "com.sun.crypto.provider.FeedbackCipher"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
putstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.feedbackCipherClass:Ljava/lang/Class;
2: getstatic org.graalvm.compiler.hotspot.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.feedbackCipherClass:Ljava/lang/Class;
ldc "embeddedCipher"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
3: ldc "com.sun.crypto.provider.CipherBlockChaining"
iconst_1
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
putstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
4: getstatic org.graalvm.compiler.hotspot.replacements.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
ldc "r"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.rOffset:J
end local 0 5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 0
start local 0 7: new org.graalvm.compiler.debug.GraalError
dup
aload 0
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 5 0 cl Ljava/lang/ClassLoader;
7 8 0 ex Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/CipherBlockChainingSubstitutions;
static java.lang.Class<?> getAESCryptClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.AESCryptSubstitutions.AESCryptClass:Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
static int encrypt(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_1
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.encrypt:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
static int implEncrypt(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_1
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.implEncrypt:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false, value = "implEncrypt")
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
static int decrypt(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: aload 1
aload 4
if_acmpeq 6
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.decrypt:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
static int implDecrypt(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: aload 1
aload 4
if_acmpeq 6
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_0
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.implDecrypt:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
static int decryptWithOriginalKey(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: aload 1
aload 4
if_acmpeq 6
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.decryptWithOriginalKey:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false, value = "decrypt")
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
static int implDecryptWithOriginalKey(java.lang.Object, byte[], int, int, byte[], int);
descriptor: (Ljava/lang/Object;[BII[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=9, 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 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 6
start local 6 1: aload 6
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.embeddedCipherOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 7
start local 7 2: aload 1
aload 4
if_acmpeq 6
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
3: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 7
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 4: aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
aload 8
iconst_0
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.crypt:(Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
5: iload 3
ireturn
end local 8 6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 6
aload 1
iload 2
iload 3
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.implDecryptWithOriginalKey:(Ljava/lang/Object;[BII[BI)I
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 7 0 rcvr Ljava/lang/Object;
0 7 1 in [B
0 7 2 inOffset I
0 7 3 inLength I
0 7 4 out [B
0 7 5 outOffset I
1 7 6 realReceiver Ljava/lang/Object;
2 7 7 embeddedCipher Ljava/lang/Object;
4 6 8 aesCipher Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false, value = "implDecrypt")
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
private static void crypt(java.lang.Object, byte[], int, int, byte[], int, java.lang.Object, boolean, boolean);
descriptor: (Ljava/lang/Object;[BII[BILjava/lang/Object;ZZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=19, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
iload 2
aload 4
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.AESCryptSubstitutions.checkArgs:([BI[BI)V
1: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.cipherBlockChainingClass:Ljava/lang/Class;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
astore 9
start local 9 2: invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.getAESCryptClass:()Ljava/lang/Class;
aload 6
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 3: aload 10
getstatic org.graalvm.compiler.hotspot.replacements.AESCryptSubstitutions.kOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 11
start local 11 4: aload 9
getstatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.rOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 12
start local 12 5: aload 11
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 13
start local 13 6: aload 12
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 7: aload 1
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
iload 2
iadd
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.ComputeObjectAddressNode.get:(Ljava/lang/Object;J)J
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 15
start local 15 8: aload 4
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
iload 5
iadd
i2l
invokestatic org.graalvm.compiler.hotspot.nodes.ComputeObjectAddressNode.get:(Ljava/lang/Object;J)J
invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 16
start local 16 9: iload 7
ifeq 12
10: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.ENCRYPT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 15
aload 16
aload 13
aload 14
iload 3
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.encryptAESCryptStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;I)V
11: goto 18
12: StackMap locals: java.lang.Object byte[] int int byte[] int java.lang.Object int int java.lang.Object java.lang.Object java.lang.Object java.lang.Object org.graalvm.word.Pointer org.graalvm.word.Pointer org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
iload 8
ifeq 17
13: aload 10
getstatic org.graalvm.compiler.hotspot.replacements.AESCryptSubstitutions.lastKeyOffset:J
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.word.LocationIdentity.any:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.RawLoadNode.load:(Ljava/lang/Object;JLjdk/vm/ci/meta/JavaKind;Lorg/graalvm/word/LocationIdentity;)Ljava/lang/Object;
astore 17
start local 17 14: aload 17
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 18
start local 18 15: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.DECRYPT_WITH_ORIGINAL_KEY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 15
aload 16
aload 13
aload 14
iload 3
aload 18
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.decryptAESCryptWithOriginalKeyStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;ILorg/graalvm/word/Pointer;)V
end local 18 end local 17 16: goto 18
17: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.DECRYPT:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 15
aload 16
aload 13
aload 14
iload 3
invokestatic org.graalvm.compiler.hotspot.replacements.CipherBlockChainingSubstitutions.decryptAESCryptStub:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;I)V
18: StackMap locals:
StackMap stack:
return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 19 0 rcvr Ljava/lang/Object;
0 19 1 in [B
0 19 2 inOffset I
0 19 3 inLength I
0 19 4 out [B
0 19 5 outOffset I
0 19 6 embeddedCipher Ljava/lang/Object;
0 19 7 encrypt Z
0 19 8 withOriginalKey Z
2 19 9 realReceiver Ljava/lang/Object;
3 19 10 aesCipher Ljava/lang/Object;
4 19 11 kObject Ljava/lang/Object;
5 19 12 rObject Ljava/lang/Object;
6 19 13 kAddr Lorg/graalvm/word/Pointer;
7 19 14 rAddr Lorg/graalvm/word/Pointer;
8 19 15 inAddr Lorg/graalvm/compiler/word/Word;
9 19 16 outAddr Lorg/graalvm/compiler/word/Word;
14 16 17 lastKeyObject Ljava/lang/Object;
15 16 18 lastKeyAddr Lorg/graalvm/word/Pointer;
MethodParameters:
Name Flags
rcvr
in
inOffset
inLength
out
outOffset
embeddedCipher
encrypt
withOriginalKey
public static native void encryptAESCryptStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, org.graalvm.word.Pointer, org.graalvm.word.Pointer, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;I)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
4:
5:
MethodParameters:
Name Flags
descriptor
in
out
key
r
inLength
public static native void decryptAESCryptStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, org.graalvm.word.Pointer, org.graalvm.word.Pointer, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;I)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
4:
5:
MethodParameters:
Name Flags
descriptor
in
out
key
r
inLength
public static native void decryptAESCryptWithOriginalKeyStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, org.graalvm.word.Pointer, org.graalvm.word.Pointer, int, org.graalvm.word.Pointer);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/word/Pointer;Lorg/graalvm/word/Pointer;ILorg/graalvm/word/Pointer;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
4:
5:
6:
MethodParameters:
Name Flags
descriptor
in
out
key
r
inLength
originalKey
}
SourceFile: "CipherBlockChainingSubstitutions.java"
InnerClasses:
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"com.sun.crypto.provider.CipherBlockChaining"}, optional = true)