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

Arseny Bochkarev duke at openjdk.org
Mon Oct 21 14:41:57 UTC 2024


> 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 four additional commits since the last revision:

 - Use RISCV64 instead of RISCV
 - Fixed comment line
 - Rename reg_number -> rounds in aes_loadkeys
 - Fix typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19960/files
  - new: https://git.openjdk.org/jdk/pull/19960/files/c8ca0577..5facf266

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19960&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19960&range=07-08

  Stats: 6 lines in 2 files changed: 0 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/19960.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19960/head:pull/19960

PR: https://git.openjdk.org/jdk/pull/19960


More information about the hotspot-dev mailing list