Webcentive RISC-V Reference

Zvkned instructions

NIST Suite: Vector AES Block Cipher

Instructions for accelerating encryption, decryption and key-schedule functions of the AES block cipher as defined in Federal Information Processing Standards Publication 197.

All of these instructions work on 128-bit element groups comprised of four 32-bit elements.

To help avoid side-channel timing attacks, these instructions shall be implemented with data-independent timing.

Extension description from riscv-unified-db, reformatted.

Specification chapter: The RISC-V Instruction Set Manual, src/unpriv/zvk.adoc.

Instructions (11)

MnemonicName (riscv-unified-db)XLEN
vaesdf.vsVector AES final-round decryption with scalar round keyRV32 and RV64
vaesdf.vvVector AES final-round decryptionRV32 and RV64
vaesdm.vsVector AES middle-round decryption with scalar round keyRV32 and RV64
vaesdm.vvVector AES middle-round decryptionRV32 and RV64
vaesef.vsVector AES final-round encryption with scalar round keyRV32 and RV64
vaesef.vvVector AES final-round encryptionRV32 and RV64
vaesem.vsVector AES middle-round encryption with scalar round keyRV32 and RV64
vaesem.vvVector AES middle-round encryptionRV32 and RV64
vaeskf1.viVector AES-128 Forward KeySchedule generationRV32 and RV64
vaeskf2.viVector AES-256 Forward KeySchedule generationRV32 and RV64
vaesz.vsVector AES round zeroRV32 and RV64