Barebit / x86reference

X86 Opcode and Instruction Reference
http://ref.x86asm.net
GNU Lesser General Public License v3.0
234 stars 52 forks source link

Add AES instructions #60

Closed BarebitOpenSource closed 3 months ago

BarebitOpenSource commented 9 months ago

https://en.wikipedia.org/wiki/AES_instruction_set#x86_architecture_processors

List:

AESENC      Perform one round of an AES encryption flow
AESENCLAST      Perform the last round of an AES encryption flow
AESDEC      Perform one round of an AES decryption flow
AESDECLAST      Perform the last round of an AES decryption flow
AESKEYGENASSIST      Assist in AES round key generation

Edit: There are more of them. See the manual for all instructions that start with "AES".

BarebitOpenSource commented 4 months ago

There's another related group of instructions missing, AES Key Locker instructions. Search the manual for "AESKLE". The are:

AESDEC128KL
AESDEC256KL
AESDECWIDE128KL
AESDECWIDE256KL
AESENC128KL
AESENC256KL
AESENCWIDE128KL
AESENCWIDE256KL
ENCODEKEY128
ENCODEKEY256
BarebitOpenSource commented 3 months ago

Move to https://github.com/mazegen/x86reference/issues/13