summaryrefslogtreecommitdiffstats
path: root/include/scp03.h
blob: 729667ccd1c5bbf4016ba4fda264e70388bde822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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 */