xref: /optee_os/lib/libutee/include/pta_system.h (revision 4bca302aecf5fcb0c2654134f0790a7f7a42c122)
1*4bca302aSIgor Opaniuk /* SPDX-License-Identifier: BSD-2-Clause */
2*4bca302aSIgor Opaniuk /*
3*4bca302aSIgor Opaniuk  * Copyright (c) 2018, Linaro Limited
4*4bca302aSIgor Opaniuk  */
5*4bca302aSIgor Opaniuk #ifndef __PTA_SYSTEM_H
6*4bca302aSIgor Opaniuk #define __PTA_SYSTEM_H
7*4bca302aSIgor Opaniuk 
8*4bca302aSIgor Opaniuk /*
9*4bca302aSIgor Opaniuk  * Interface to the pseudo TA, which is provides misc. auxiliary services,
10*4bca302aSIgor Opaniuk  * extending existing GlobalPlatform Core API
11*4bca302aSIgor Opaniuk  */
12*4bca302aSIgor Opaniuk 
13*4bca302aSIgor Opaniuk #define PTA_SYSTEM_UUID { 0x3a2f8978, 0x5dc0, 0x11e8, { \
14*4bca302aSIgor Opaniuk 			 0x9c, 0x2d, 0xfa, 0x7a, 0xe0, 0x1b, 0xbe, 0xbc } }
15*4bca302aSIgor Opaniuk 
16*4bca302aSIgor Opaniuk /*
17*4bca302aSIgor Opaniuk  * Add (re-seed) caller-provided entropy to the RNG pool. Keymaster
18*4bca302aSIgor Opaniuk  * implementations need to securely mix the provided entropy into their pool,
19*4bca302aSIgor Opaniuk  * which also must contain internally-generated entropy from a hardware random
20*4bca302aSIgor Opaniuk  * number generator.
21*4bca302aSIgor Opaniuk  *
22*4bca302aSIgor Opaniuk  * [in]     memref[0]: entropy input data
23*4bca302aSIgor Opaniuk  */
24*4bca302aSIgor Opaniuk #define PTA_SYSTEM_ADD_RNG_ENTROPY	0
25*4bca302aSIgor Opaniuk 
26*4bca302aSIgor Opaniuk #endif /* __PTA_SYSTEM_H */
27