AESE

AES single round encryption.

It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .

A1
(FEAT_AES)

313029282726252423222120191817161514131211109876543210
111100111D11size00Vd001100M0Vm

A1

AESE.<dt> <Qd>, <Qm>

if !HaveAESExt() then UNDEFINED; if size != '00' then UNDEFINED; if Vd<0> == '1' || Vm<0> == '1' then UNDEFINED; d = UInt(D:Vd); m = UInt(M:Vm);

T1
(FEAT_AES)

15141312111098765432101514131211109876543210
111111111D11size00Vd001100M0Vm

T1

AESE.<dt> <Qd>, <Qm>

if InITBlock() then UNPREDICTABLE; if !HaveAESExt() then UNDEFINED; if size != '00' then UNDEFINED; if Vd<0> == '1' || Vm<0> == '1' then UNDEFINED; d = UInt(D:Vd); m = UInt(M:Vm);

For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.

Assembler Symbols

<dt>

Is the data type, encoded in size:

size <dt>
00 8
01 RESERVED
1x RESERVED
<Qd>

Is the 128-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field as <Qd>*2.

<Qm>

Is the 128-bit name of the SIMD&FP source register, encoded in the "M:Vm" field as <Qm>*2.

Operation

if ConditionPassed() then EncodingSpecificOperations(); CheckCryptoEnabled32(); op1 = Q[d>>1]; op2 = Q[m>>1]; Q[d>>1] = AESSubBytes(AESShiftRows(op1 EOR op2));

Operational information

If CPSR.DIT is 1:


Internal version only: isa v01_31, pseudocode v2023-06_rel, sve v2023-06_rel ; Build timestamp: 2023-07-04T18:06

Copyright © 2010-2023 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.