RFR: 8365732: RISC-V: implement AES CTR intrinsics [v26]

Hamlin Li mli at openjdk.org
Tue Nov 18 17:49:21 UTC 2025


On Thu, 13 Nov 2025 07:12:38 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:

>> Hi everyone, please help review this patch which Implement the _counterMode_AESCrypt with Zvkned. On my QEMU, with Zvkned extension enabled, the tests in test/hotspot/jtreg/compiler/codegen/aes/ Passed.
>
> Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   modify stub_id name

src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 2709:

> 2707:     //     while (used < BLOCK_SIZE) {
> 2708:     //       if (len == 0) goto L_exit;
> 2709:     //       out = in ^ saved_encrypted_ctr[used]);

do you mean `*out = *in ^ saved_encrypted_ctr[used]);`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25281#discussion_r2539144619


More information about the hotspot-compiler-dev mailing list