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

Hamlin Li mli at openjdk.org
Tue Dec 2 15:16:59 UTC 2025


On Mon, 24 Nov 2025 03:11:07 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 label L_EXIT to L_exit

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

> 2634:   void counterMode_AESCrypt(int round, Register in, Register out, Register key, Register counter,
> 2635:                             Register input_len,  Register saved_encrypted_ctr, Register used_ptr) {
> 2636:     // Algorithm:

This should be my last comment :)
Where is this "Algorithm" from? Can you put a link here?

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

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


More information about the hotspot-compiler-dev mailing list