]>
Commit | Line | Data |
---|---|---|
166363f2 JRO |
1 | /* 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 | */ | |
19 | int tee_enable_scp03(void); | |
20 | int tee_provision_scp03(void); | |
21 | #endif /* _SCP03_H */ |