aes64ks2 in core::arch::riscv64 - Rust
Description: This instruction implements part of the KeySchedule operation for the AES Block cipher.

# Function core::arch::riscv64::aes64ks2

source ·

    pub unsafe fn aes64ks2(rs1: u64, rs2: u64) -> u64

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV64 and target feature `zkne` and target feature `zknd` only.
Expand description

This instruction implements part of the KeySchedule operation for the AES Block cipher.

This instruction implements the additional XOR’ing of key words as part of the AES block cipher Key Schedule. 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.11

## §Safety

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