vaesdm.vv
Vector AES middle-round decryption
Encoding
| 3126 | 25 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 101000 | 1 | vs2 | 00000 | 010 | vd | 1110111 | |||||||||||||||||||||||||
Match 0xa2002077, mask 0xfe0ff07f. Source: vaesdm.vv 31..26=0x28 25=1 vs2 19..15=0x0 14..12=0x2 vd 6..0=0x77 in riscv-opcodes/extensions/rv_zvkned.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| vs2 | 24:20 | vs2 |
| vd | 11:7 | vd |
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 corresponding element group in vs2, and the InvMixColumns step is then applied. The new round state is written to vd.
Description from riscv-unified-db, reformatted.