u-boot-brain/include/scp03.h

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