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

Hamlin Li mli at openjdk.org
Wed Dec 3 09:59:13 UTC 2025


On Wed, 3 Dec 2025 09:53:20 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> Do you mean adding a comment like “mainly according to com.sun.crypto.provider.CounterMode::implCrypt” here?  
>> 
>> I may not have described it clearly, the java one(https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/com/sun/crypto/provider/CounterMode.java#L200-L212) I referred to is the function for which we try to implement its intrinsics, do we still need add a reference?
>
> I mean, where is the C code from? we'd better put a reference here to point to it.

I assume your assembly code is kind of translation from a high language code, or maybe I misunderstood it?

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

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


More information about the hotspot-compiler-dev mailing list