Files
kernel_xiaomi_sm8250/security/pfe/pfk_ice.h
Gaurav Kashyap e2c6b3a39b security: Add ICE support for UFS card
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>
2019-06-20 13:37:41 -07:00

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_ */