AES64KS2
AES-64 Key Schedule Instruction 2
AES64KS2 rd, rs1, rs2
Performs the second part of the AES-192/256 key schedule generation (RV64).
Encoding
Binary Layout
0111111
31:25
rs2
24:20
rs1
19:15
000
14:12
rd
11:7
0110011
6:0
Operands
-
rd
Destination register (integer) -
rs1
Source register 1 (integer) -
rs2
Source register 2 (integer)
Example
AES64KS2 t0, a0, a1
Related
More in Zkne
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
AES64KS2 performs the second step of the AES-256 key schedule, XORing rs1 with the appropriate bytes of rs2.
Operation
rd = aes_key_schedule_2(rs1, rs2);