aes64dsm
AES decrypt middle round
Encoding
| 3130 | 2925 | 2420 | 1915 | 1412 | 117 | 60 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 00 | 11111 | rs2 | rs1 | 000 | rd | 0110011 | |||||||||||||||||||||||||
Match 0x3e000033, mask 0xfe00707f. Source: aes64dsm rd rs1 rs2 31..30=0 29..25=0b11111 14..12=0b000 6..0=0x33 in riscv-opcodes/extensions/rv64_zknd.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs2 | 24:20 | rs2 |
| rs1 | 19:15 | rs1 |
| rd | 11:7 | rd |
Description
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, SubBytes and MixColumns steps.
Description from riscv-unified-db, reformatted.
Specification and related pages
- The RISC-V Instruction Set Manual: src/unpriv/zk.adoc (Zk)
- The RISC-V Instruction Set Manual: src/unpriv/zk.adoc (Zkn)
- The RISC-V Instruction Set Manual: src/unpriv/zk.adoc (Zknd)
- riscv-unified-db: spec/std/isa/inst/Zknd/aes64dsm.yaml
- Zk instruction listing
- Zkn instruction listing
- Zknd instruction listing