Skip to content

Commit

Permalink
8267616: AArch64: Fix AES assertion messages in stubGenerator_aarch64…
Browse files Browse the repository at this point in the history
….cpp

Reviewed-by: aph, neliasso
  • Loading branch information
Dong Bo authored and RealFYang committed Jun 1, 2021
1 parent c06db45 commit ae2f37f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
Expand Up @@ -2658,7 +2658,7 @@ class StubGenerator: public StubCodeGenerator {
// c_rarg2 - K (key) in little endian int array
//
address generate_aescrypt_decryptBlock() {
assert(UseAES, "need AES instructions and misaligned SSE support");
assert(UseAES, "need AES cryptographic extension support");
__ align(CodeEntryAlignment);
StubCodeMark mark(this, "StubRoutines", "aescrypt_decryptBlock");
Label L_doLast;
Expand Down Expand Up @@ -2765,7 +2765,7 @@ class StubGenerator: public StubCodeGenerator {
// x0 - input length
//
address generate_cipherBlockChaining_encryptAESCrypt() {
assert(UseAES, "need AES instructions and misaligned SSE support");
assert(UseAES, "need AES cryptographic extension support");
__ align(CodeEntryAlignment);
StubCodeMark mark(this, "StubRoutines", "cipherBlockChaining_encryptAESCrypt");

Expand Down Expand Up @@ -2869,7 +2869,7 @@ class StubGenerator: public StubCodeGenerator {
// r0 - input length
//
address generate_cipherBlockChaining_decryptAESCrypt() {
assert(UseAES, "need AES instructions and misaligned SSE support");
assert(UseAES, "need AES cryptographic extension support");
__ align(CodeEntryAlignment);
StubCodeMark mark(this, "StubRoutines", "cipherBlockChaining_decryptAESCrypt");

Expand Down

1 comment on commit ae2f37f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.