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