blob: 729667ccd1c5bbf4016ba4fda264e70388bde822 [file] [log] [blame]
Jorge Ramirez-Ortiz9127d8b2021-02-14 16:27:23 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2021, Foundries.IO
4 *
5 */
6
7#ifndef _SCP03_H
8#define _SCP03_H
9
10/*
11 * Requests to OPTEE to enable or provision the Secure Channel Protocol on its
12 * Secure Element
13 *
14 * If key provisioning is requested, OPTEE shall generate new SCP03 keys and
15 * write them to the Secure Element.
16 *
17 * Both functions return < 0 on error else 0.
18 */
19int tee_enable_scp03(void);
20int tee_provision_scp03(void);
21#endif /* _SCP03_H */