Webcentive RISC-V Reference

aes64ks2

AES Key Schedule Instruction 2

Extension
Zk, Zkn, Zknd, Zkne
XLEN
RV64 only
Assembly (riscv-unified-db)
aes64ks2 xd, xs1, xs2
Length
32-bit

Encoding

3130292524201915141211760
0111111rs2rs1000rd0110011

Match 0x7e000033, mask 0xfe00707f. Source: aes64ks2 rd rs1 rs2 31..30=1 29..25=0b11111 14..12=0b000 6..0=0x33 in riscv-opcodes/extensions/rv64_zknd.

FieldBitsriscv-opcodes name
rs224:20rs2
rs119:15rs1
rd11:7rd

Description

This instruction implements the additional XOR'ing of key words as part of the AES block cipher Key Schedule.

Description from riscv-unified-db, reformatted.

Specification and related pages