ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

aes64ks1i

T1 riscv crypto insn
AES Key Schedule Instruction 1
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zknd, Zkne, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZknd, Zkne, Zkt-DIT

Summary

This instruction implements the rotation, SubBytes and Round Constant addition steps of the AES block cipher Key Schedule. rnum must be in the range 0x0..0xA. The values 0xB..0xF are reserved.

Syntax / Encoding

aes64ks1i xd, xs1, rnum | 00110001xxxxxxxxx001xxxxx0010011 (mask=0xff00707f match=0x31001013)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV00110001xxxxxxxxx001xxxxx00100110xff00707f / 0x31001013

Operands

NameDescription
rnumbits [23:20]
xs1bits [19:15]
xdbits [11:7]