RFR: 8252204: AArch64: Implement SHA3 accelerator/intrinsic

Yangfei (Felix) felix.yang at huawei.com
Wed Sep 30 08:28:13 UTC 2020


Hi,

> -----Original Message-----
> From: hotspot-dev [mailto:hotspot-dev-retn at openjdk.java.net] On Behalf
> Of Valerie Peng
> Sent: Wednesday, September 30, 2020 6:25 AM
> To: core-libs-dev at openjdk.java.net; hotspot-dev at openjdk.java.net;
> hotspot-compiler-dev at openjdk.java.net; security-dev at openjdk.java.net
> Subject: Re: RFR: 8252204: AArch64: Implement SHA3 accelerator/intrinsic
> 
> On Tue, 29 Sep 2020 09:22:25 GMT, Andrew Haley <aph at openjdk.org>
> wrote:
> 
> >> Acked-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> >
> >> If this feature is not auto-enabled when the SHA3 hardware feature is
> >> there, we will have one failure for the following
> >> test:
> >> test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsO
> >> ptionOnSupportedCPU.java
> >> 15 #-----testresult-----
> >> 16
> >> description=file:/home/yangfei/github/jdk/test/hotspot/jtreg/compiler
> >> /intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java
> >> 17 elapsed=31546 0:00:31.546 18 end=Mon Sep 21 10:27:58 CST 2020
> >> 19 environment=regtest
> >> 20 execStatus=Failed. Execution failed: `main' threw exception:
> >> java.lang.AssertionError: Option 'UseSHA3Intrinsics' is expected to
> >> have 'true' value Option 'UseSHA3Intrinsics' should be enabled by default
> Any suggestions for this?
> >
> > I don't understand your question. There should be two acceptable
> > results, either "Pass" or "Not supported". What else is possible?
> 
> I have looked at the java security changes, i.e.
> src/java.base/share/classes/sun/security/provider/SHA3.java. It looks fine.

Thanks for reviewing this part.

Best Regards,
Felix



More information about the core-libs-dev mailing list