blob: a4da009904b78f28c5c2ba9adf7743f9ad1c8018 [file] [log] [blame]
Alexei Fedorov719714f2019-10-03 10:57:53 +01001/*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PAUTH_H
8#define PAUTH_H
9
10#include <stdint.h>
11
12#ifdef __aarch64__
13/* Initialize 128-bit ARMv8.3-PAuth key */
14uint128_t init_apkey(void);
15
16/* Program APIAKey_EL1 key and enable ARMv8.3-PAuth */
17void pauth_init_enable(void);
18#endif /* __aarch64__ */
19
20#endif /* PAUTH_H */