RFR: 8334999: RISC-V: implement AES single block encryption/decryption intrinsics [v8]

Arseny Bochkarev duke at openjdk.org
Thu Oct 17 22:25:39 UTC 2024


On Thu, 17 Oct 2024 22:07:16 GMT, Arseny Bochkarev <duke at openjdk.org> wrote:

>> Hello everyone! Please review this port of vector AES single block encryption/decryption intrinsics. On my QEMU with `Zvkned` extension enabled the `test/hotspot/jtreg/compiler/codegen/aes/TestAESMain.java` test is OK. I know that currently hardware implementing this extension is not available on the market but I suppose this PR can be a good starting point on supporting AES intrinsics for RISC-V in OpenJDK.
>
> Arseny Bochkarev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use same keys for encryption and decryption

Hi all! I'm sorry for such a late replies. I was able to optimize decryption sequence by using keys from encryption stage with reversed rounds order

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

PR Comment: https://git.openjdk.org/jdk/pull/19960#issuecomment-2420721358


More information about the hotspot-dev mailing list