helper.h (e74e1d55728509b352e4eec4283dd5b2781b2070) helper.h (766d95b1ed93ebdd07ac87490e60e442342f5dc4)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (C) 2020 ARM Limited */
3
4#ifndef _HELPER_H_
5#define _HELPER_H_
6
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (C) 2020 ARM Limited */
3
4#ifndef _HELPER_H_
5#define _HELPER_H_
6
7#include <stdlib.h>
8
7void pac_corruptor(void);
8
9void pac_corruptor(void);
10
11/* PAuth sign a value with key ia and modifier value 0 */
12size_t keyia_sign(size_t val);
13size_t keyib_sign(size_t val);
14size_t keyda_sign(size_t val);
15size_t keydb_sign(size_t val);
16size_t keyg_sign(size_t val);
17
9#endif
18#endif