RFR: JDK-8216437 : PPC64: Add intrinsic for GHASH algorithm [v26]

Martin Doerr mdoerr at openjdk.org
Mon Apr 28 08:50:04 UTC 2025


On Fri, 21 Feb 2025 16:03:52 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Suchismith Roy has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - change branch and remove not needed variables
>>  - change branch and remove not needed variables
>
> I'm getting test error on AIX: TestAESMain algorithm=AES, mode=GCM, paddingStr=nopadding, msgSize=646, keySize=128, noReinit=false, checkOutput=false, encInputOffset=0, encOutputOffset=0, decOutputOffset=0, lastChunkSize=32
> 
> Algorithm: AES(128bit)
> Decryption cipher provider: SunJCE version 25
> Decryption cipher algorithm: AES/GCM/nopadding
> javax.crypto.AEADBadTagException: Tag mismatch
>         at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1504)
>         at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:427)
>         at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2478)
>         at TestAESBase.prepare(TestAESBase.java:158)
>         at TestAESMain.main(TestAESMain.java:154)
> 
> The same test works on linuxppc64le.

> Hi @TheRealMDoerr Was this suite run from your end ? Was the TestAESMain that you had checked the run times on ?

I've run tier1-4 on linux ppc64le and AIX for stability testing and only used TestAESMain to check the performance. I agree with Andrew that some performance numbers should be published. I think you can also report the performance results of TestAESMain, here.

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

PR Comment: https://git.openjdk.org/jdk/pull/20235#issuecomment-2834479032


More information about the hotspot-dev mailing list