Webcentive RISC-V Reference

vaesdm.vs

Vector AES middle-round decryption with scalar round key

Extension
Zvkn, Zvkned
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
vaesdm.vs vd, vs2
Length
32-bit

Encoding

31262524201915141211760
1010011vs200000010vd1110111

Match 0xa6002077, mask 0xfe0ff07f. Source: vaesdm.vs 31..26=0x29 25=1 vs2 19..15=0x0 14..12=0x2 vd 6..0=0x77 in riscv-opcodes/extensions/rv_zvkned.

FieldBitsriscv-opcodes name
vs224:20vs2
vd11:7vd

Description

Performs a middle-round AES block cipher decryption. The InvShiftRows and InvSubBytes steps are applied to each round state element group from vd, and the result is XORed with the round key in the scalar element group in vs2, which is used for every element group, and the InvMixColumns step is then applied. The new round state is written to vd.

Description from riscv-unified-db, reformatted.

Specification and related pages