8172199: s390: Use same get_key_start_from_aescrypt_object implementation as PPC64
authormdoerr
Tue, 03 Jan 2017 17:17:14 +0100
changeset 43421 077af5bb5fa4
parent 43420 a056d6465ef9
child 43422 d4693bf78777
8172199: s390: Use same get_key_start_from_aescrypt_object implementation as PPC64 Reviewed-by: kvn
hotspot/src/share/vm/opto/library_call.cpp
--- a/hotspot/src/share/vm/opto/library_call.cpp	Tue Dec 27 16:10:59 2016 +0100
+++ b/hotspot/src/share/vm/opto/library_call.cpp	Tue Jan 03 17:17:14 2017 +0100
@@ -6335,7 +6335,7 @@
 
 //------------------------------get_key_start_from_aescrypt_object-----------------------
 Node * LibraryCallKit::get_key_start_from_aescrypt_object(Node *aescrypt_object) {
-#ifdef PPC64
+#if defined(PPC64) || defined(S390)
   // MixColumns for decryption can be reduced by preprocessing MixColumns with round keys.
   // Intel's extention is based on this optimization and AESCrypt generates round keys by preprocessing MixColumns.
   // However, ppc64 vncipher processes MixColumns and requires the same round keys with encryption.