Zhen Kong | ee7bdc6 | 2019-03-14 10:55:19 -0700 | [diff] [blame^] | 1 | /* 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 | |
| 18 | int pfk_ice_init(void); |
| 19 | int pfk_ice_deinit(void); |
| 20 | |
| 21 | int qti_pfk_ice_set_key(uint32_t index, uint8_t *key, uint8_t *salt, |
| 22 | char *storage_type, unsigned int data_unit); |
| 23 | int qti_pfk_ice_invalidate_key(uint32_t index, char *storage_type); |
| 24 | |
| 25 | #endif /* PFK_ICE_H_ */ |