xref: /optee_os/lib/libutee/include/pta_veraison_attestation.h (revision e02f17f374b6ce856b8569543e2066bfbaa64c59)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (C) 2024, Institute of Information Security (IISEC)
4  */
5 
6 #ifndef __PTA_VERAISON_ATTESTATION_H
7 #define __PTA_VERAISON_ATTESTATION_H
8 
9 #define PTA_VERAISON_ATTESTATION_UUID                                  \
10 	{                                                              \
11 		0xa77955f9, 0xeea1, 0x44fd,                            \
12 		{                                                      \
13 			0xad, 0xd5, 0x4a, 0x9d, 0x96, 0x2a, 0xfc, 0xf5 \
14 		}                                                      \
15 	}
16 
17 /*
18  * Return a CBOR(COSE) evidence
19  *
20  * [in]     memref[0]        Nonce
21  * [out]    memref[1]        Output buffer
22  * [in]     memref[2]        Implementation ID
23  *
24  * Main return codes:
25  * TEE_SUCCESS
26  * TEE_ERROR_ACCESS_DENIED   - Caller is not a user space TA
27  * TEE_ERROR_BAD_PARAMETERS  - Incorrect input param
28  * TEE_ERROR_SHORT_BUFFER    - Output buffer size less than required
29  * TEE_ERROR_NOT_IMPLEMENTED - Command not implemented
30  */
31 #define PTA_VERAISON_ATTESTATION_GET_CBOR_EVIDENCE 0x0
32 
33 #endif /* __PTA_VERAISON_ATTESTATION_H */
34