vaeskf1.vi

Vector AES-128 Forward KeySchedule generation

Performs a single round of the forward AES-128 KeySchedule. The next round key is generated word by word from the current round key element group in vs2 and is written to vd. The round number, which ranges from 1 to 10, comes from imm[3:0] and selects the round constant; imm[4] is ignored. The out-of-range imm[3:0] values 0 and 11-15 are mapped to in-range values by inverting imm[3].

This instruction must have data-independent timing when extension Zkt is enabled.

Assembly format

vaeskf1.vi vd, vs2, imm

Decode Variables

Bits<5> vs2 = $encoding[24:20];
Bits<5> imm = $encoding[19:15];
Bits<5> vd = $encoding[11:7];

Execution

Encoding

svg

Defining extension

Access

M

Always

Containing profiles

  • Mandatory: RVA20S64, RVA20U64, RVA22S64, RVA22U64, RVA23S64, RVA23U64, RVA23p1S64, RVB23S64, RVB23U64, RVB23p1S64

  • Optional: None