Research Article

A Lightweight AES Coprocessor Based on RISC-V Custom Instructions

Table 2

The proposed definition of coprocessor instructions.

KEY-UPDATEINITLoop
CBC-INITCMAC-INIT

funct7[2 : 0]000001101011
rs1Read address for keyRead address for plaintextLength of plaintext
rs2(Disable)Write address for result(Disable)
rd(Disable)(Disable)(Disable)