Home
last modified time | relevance | path

Searched refs:pac_mask (Results 1 – 2 of 2) sorted by relevance

/external/vixl/src/aarch64/
Dpointer-auth-aarch64.cc148 uint64_t pac_mask = CalculatePACMask(ptr, type, (ptr >> 55) & 1); in AuthPAC() local
150 ((ptr & kTTBRMask) == 0) ? (ptr & ~pac_mask) : (ptr | pac_mask); in AuthPAC()
155 if ((pac & pac_mask) == (ptr & pac_mask)) { in AuthPAC()
174 uint64_t pac_mask = CalculatePACMask(ptr, type, ttbr); in AddPAC() local
175 uint64_t ext_ptr = (ttbr == 0) ? (ptr & ~pac_mask) : (ptr | pac_mask); in AddPAC()
181 if (((ptr & (pac_mask | kTTBRMask)) != 0x0) && in AddPAC()
182 ((~ptr & (pac_mask | kTTBRMask)) != 0x0)) { in AddPAC()
187 return (pac & pac_mask) | ttbr_shifted | (ptr & ~pac_mask); in AddPAC()
191 uint64_t pac_mask = CalculatePACMask(ptr, type, (ptr >> 55) & 1); in StripPAC() local
192 return ((ptr & kTTBRMask) == 0) ? (ptr & ~pac_mask) : (ptr | pac_mask); in StripPAC()
/external/vixl/test/aarch64/
Dtest-pointer-auth-aarch64.cc73 uint64_t pac_mask = in TEST() local
78 VIXL_CHECK((ptr_a & pac_mask) != 0x0); in TEST()
88 uint64_t pac_mask = in TEST() local
90 uint64_t ptr_a = ptr | pac_mask; in TEST()