RFR: 8319716: RISC-V: Add SHA-2
Fei Yang
fyang at openjdk.org
Thu Nov 9 08:44:57 UTC 2023
On Wed, 8 Nov 2023 14:47:07 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> Hi, please consider.
>
> Main author is @luhenry, I only fixed some minor things and tested it.
>
> Such as:
> test/hotspot/jtreg/compiler/intrinsics/sha/
> test/jdk/java/security/MessageDigest/
> test/jdk/jdk/security/
> tier1
>
> And still running some test.
Hi, I am told today that a riscv64 version of sha256/512 for openssl has been added two weeks ago [1][2]
Seems their version are more efficient after a brief look. Might be a good reference for us I guess.
[1] https://github.com/openssl/openssl/blob/master/crypto/sha/asm/sha256-riscv64-zvkb-zvknha_or_zvknhb.pl
[2] https://github.com/openssl/openssl/blob/master/crypto/sha/asm/sha512-riscv64-zvkb-zvknhb.pl
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16562#issuecomment-1803383959
More information about the hotspot-dev
mailing list