8143925: Enhancing CounterMode.crypt() for AES

Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
This commit is contained in:
Kishor Kharbas 2015-12-28 23:11:01 -08:00 committed by Vladimir Kozlov
parent fb318fc787
commit 790f5bded4
25 changed files with 1079 additions and 9 deletions

View file

@ -260,6 +260,11 @@ void VM_Version::initialize() {
}
}
if (UseAESCTRIntrinsics) {
warning("AES/CTR intrinsics are not available on this CPU");
FLAG_SET_DEFAULT(UseAESCTRIntrinsics, false);
}
// GHASH/GCM intrinsics
if (has_vis3() && (UseVIS > 2)) {
if (FLAG_IS_DEFAULT(UseGHASHIntrinsics)) {