VAESKF1.VI
Vector AES Key Expansion 1
VAESKF1.VI vd, vs2, uimm
Generates the next round key for AES (Step 1).
Encoding
Binary Layout
1000101
31:25
vs2
24:20
zimm5
19:15
010
14:12
vd
11:7
1110111
6:0
Operands
-
vd
Destination vector register -
vs2
Source vector register 2 -
uimm
Round number (1-10)
Example
VAESKF1.VI v1, v4, 4
Related
More in Zvkned
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Performs one round of the AES-128 key schedule: generates the next round key from the previous one in vs2. uimm[3:0] is the round number, 1 to 10; out-of-range values are mapped into range.
Operation
vd = AES_KeyGen_1(vs2, uimm);