Files
Linux_Drivers/u-boot-2021.10/include/scp03.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

22 lines
476 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2021, Foundries.IO
*
*/
#ifndef _SCP03_H
#define _SCP03_H
/*
* Requests to OPTEE to enable or provision the Secure Channel Protocol on its
* Secure Element
*
* If key provisioning is requested, OPTEE shall generate new SCP03 keys and
* write them to the Secure Element.
*
* Both functions return < 0 on error else 0.
*/
int tee_enable_scp03(void);
int tee_provision_scp03(void);
#endif /* _SCP03_H */