Function core::arch::riscv64::aes64es

source ·
pub unsafe fn aes64es(rs1: u64, rs2: u64) -> u64
🔬This is a nightly-only experimental API. (riscv_ext_intrinsics #114544)
Available on RISC-V RV64 and target feature zkne only.
Expand description

AES final round encryption instruction for RV64.

Uses the two 64-bit source registers to represent the entire AES state, and produces half of the next round output, applying the ShiftRows and SubBytes steps. This instruction must always be implemented such that its execution latency does not depend on the data being operated on.

Source: RISC-V Cryptography Extensions Volume I: Scalar & Entropy Source Instructions

Version: v1.0.1

Section: 3.7

§Safety

This function is safe to use if the zkne target feature is present.