Ice setup operation will work indpendent of storage type. Command line parameters will be read to find out storage type before doing ICE HW Configuration. Change-Id: I90a520f6d80e92505464fcde04980d858b34b455 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
33 lines
902 B
C
33 lines
902 B
C
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef PFK_ICE_H_
|
|
#define PFK_ICE_H_
|
|
|
|
/*
|
|
* PFK ICE
|
|
*
|
|
* ICE keys configuration through scm calls.
|
|
*
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
|
|
int pfk_ice_init(void);
|
|
int pfk_ice_deinit(void);
|
|
|
|
int qti_pfk_ice_set_key(uint32_t index, uint8_t *key, uint8_t *salt,
|
|
char *storage_type);
|
|
int qti_pfk_ice_invalidate_key(uint32_t index, char *storage_type);
|
|
|
|
|
|
#endif /* PFK_ICE_H_ */
|