pacda

Pointer Authentication Code (Data A)

PACDA <Xd>, <Xn|SP>

Signs a data pointer using Key A.

Pseudocode Operation

modifier ← Xn | SP
Xd ← AddPAC(Xd, modifier, key_a, data_key)

Example

PACDA x0, x1

Encoding

Binary Layout
1
31
1
30
0
29
11010110
28:21
00001
20:16
00
15:14
0
13
010
12:10
Rn
9:5
Rd
4:0
 
Format Data Processing
Opcode 0xDAC10800
Extension PAC (Security)

Operands

  • Xd
    Ptr
  • Xn
    Modifier

Related

Other forms of pacda

  • pacda Pointer Authentication Code for Data Address (Key…

More in PAC (Security)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0xDAC10800 PACDA <Xd>, <Xn|SP> A64 1 | 1 | 0 | 11010110 | 00001 | 00 | 0 | 010 | Rn | Rd

Description

Pointer Authentication Code for Data address, using key A. This instruction computes and inserts a pointer authentication code for a data address, using a modifier and key A. The address is in the general-purpose register that is specified by <Xd>. The modifier is:

Operation

if source_is_sp then
    X[d, 64] = AddPACDA(X[d, 64], SP[]);
else
    X[d, 64] = AddPACDA(X[d, 64], X[n, 64]);