AES64KS2

AES-64 Key Schedule Instruction 2

AES64KS2 rd, rs1, rs2

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

Details

AES64KS2 performs the second step of the AES-256 key schedule, XORing rs1 with the appropriate bytes of rs2.

Pseudocode Operation

rd = aes_key_schedule_2(rs1, rs2);

Example

AES64KS2 t0, a0, a1

Encoding

Binary Layout
0111111
31:25
rs2
24:20
rs1
19:15
000
14:12
rd
11:7
0110011
6:0
 
Format R-Type
Opcode 0x33
Extension Zkne

Operands

  • rd
    Destination register (integer)
  • rs1
    Source register 1 (integer)
  • rs2
    Source register 2 (integer)