AES64KS1I

AES-64 Key Schedule Instruction 1

AES64KS1I rd, rs1, rcon

Performs the first part of the AES-128/192/256 key schedule generation (RV64).

Details

AES64KS1I performs the first step of the AES-128/192/256 key schedule, applying SubWord, RotWord, and XOR with a round constant (Rcon[imm]) to rs1.

Pseudocode Operation

rd = aes_key_schedule_1(rs1, rcon);

Example

AES64KS1I t0, a0, rcon

Encoding

Binary Layout
00110001
31:24
rnum
23:20
rs1
19:15
001
14:12
rd
11:7
0010011
6:0
 
Format I-Type
Opcode 0x31001013
Extension Zkne

Operands

  • rd
    Destination register (integer)
  • rs1
    Source Key
  • rcon
    Round Constant (0-10)