Lines Matching refs:keys
33 static inline void ptrauth_keys_init(struct ptrauth_keys *keys) in ptrauth_keys_init() argument
36 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init()
37 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_keys_init()
38 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_keys_init()
39 get_random_bytes(&keys->apdb, sizeof(keys->apdb)); in ptrauth_keys_init()
43 get_random_bytes(&keys->apga, sizeof(keys->apga)); in ptrauth_keys_init()
53 static inline void ptrauth_keys_switch(struct ptrauth_keys *keys) in ptrauth_keys_switch() argument
56 __ptrauth_key_install(APIA, keys->apia); in ptrauth_keys_switch()
57 __ptrauth_key_install(APIB, keys->apib); in ptrauth_keys_switch()
58 __ptrauth_key_install(APDA, keys->apda); in ptrauth_keys_switch()
59 __ptrauth_key_install(APDB, keys->apdb); in ptrauth_keys_switch()
63 __ptrauth_key_install(APGA, keys->apga); in ptrauth_keys_switch()