core::arch::riscv64

Function aes64ds

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

AES final round decryption 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 Inverse 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.5

§Safety

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