On Fri, 11 Jun 2021 17:19:37 GMT, Smita Kamath <svkam...@openjdk.org> wrote:

>> src/hotspot/share/opto/library_call.cpp line 547:
>> 
>>> 545: 
>>> 546:   case vmIntrinsics::_galoisCounterMode_AESCrypt:
>>> 547:     return inline_galoisCounterMode_AESCrypt(intrinsic_id());
>> 
>> You don't need to pass `intrinsic_id()` for this implementation unless you 
>> plan to add decrypt intrinsic later.
>
> Thanks for your comments Vladimir. The intrinsic is called for encrypt as 
> well as decrypt operation.

Only one intrinsic is declared in this change: `_galoisCounterMode_AESCrypt`. 
Other AES intrinsics have 2 that is why they have to pass intrinsic_id(). See 
lines before this.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4019

Reply via email to