blob: 0331439966b1ddbf4629e76cf1a9633d0c5a2a61 [file] [log] [blame]
Zhen Kongee7bdc62019-03-14 10:55:19 -07001/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
4 */
5
6#ifndef PFK_ICE_H_
7#define PFK_ICE_H_
8
9/*
10 * PFK ICE
11 *
12 * ICE keys configuration through scm calls.
13 *
14 */
15
16#include <linux/types.h>
17
18int pfk_ice_init(void);
19int pfk_ice_deinit(void);
20
21int qti_pfk_ice_set_key(uint32_t index, uint8_t *key, uint8_t *salt,
22 char *storage_type, unsigned int data_unit);
23int qti_pfk_ice_invalidate_key(uint32_t index, char *storage_type);
24
25#endif /* PFK_ICE_H_ */