vaesef.vs

Vector AES final-round encryption with scalar round key

Performs a final-round AES block cipher encryption. The SubBytes and ShiftRows steps are applied to each round state element group from vd, and the result is XORed with the round key in the scalar element group in vs2, which is used for every element group. The new round state is written to vd.

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

Assembly format

vaesef.vs vd, vs2

Decode Variables

Bits<5> vs2 = $encoding[24:20];
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