Add ICE support for the new UFS card by handling the ice device appropriately in PFK. Change-Id: I69f8d7b3560f854929f043d3f6f694cc28ff3dac Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
24 lines
508 B
C
24 lines
508 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef PFK_ICE_H_
|
|
#define PFK_ICE_H_
|
|
|
|
/*
|
|
* PFK ICE
|
|
*
|
|
* ICE keys configuration through scm calls.
|
|
*
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
#include <crypto/ice.h>
|
|
|
|
int qti_pfk_ice_set_key(uint32_t index, uint8_t *key, uint8_t *salt,
|
|
struct ice_device *ice_dev, unsigned int data_unit);
|
|
int qti_pfk_ice_invalidate_key(uint32_t index, struct ice_device *ice_dev);
|
|
|
|
#endif /* PFK_ICE_H_ */
|