diff src/cpu/sparc/vm/sparc.ad @ 14261:00f5eff62d18

8002074: Support for AES on SPARC Summary: Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform. Reviewed-by: kvn, roland Contributed-by: shrinivas.joshi@oracle.com
author kvn
date Tue, 14 Jan 2014 17:46:48 -0800
parents f3e0bcfff3ab
children 9918c6fb4770 abec000618bf 51e1bb81df86
line wrap: on
line diff
--- a/src/cpu/sparc/vm/sparc.ad	Tue Jan 14 14:51:47 2014 +0100
+++ b/src/cpu/sparc/vm/sparc.ad	Tue Jan 14 17:46:48 2014 -0800
@@ -1848,6 +1848,12 @@
   return false;
 }
 
+// Current (2013) SPARC platforms need to read original key
+// to construct decryption expanded key 
+const bool Matcher::pass_original_key_for_aes() {
+  return true;
+}
+
 // USII supports fxtof through the whole range of number, USIII doesn't
 const bool Matcher::convL2FSupported(void) {
   return VM_Version::has_fast_fxtof();