1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* 3 * Copyright (C) 2020, Foundries Limited 4 */ 5 6 #ifndef __PTA_SCP03_H 7 #define __PTA_SCP03_H 8 9 #define PTA_SCP03_UUID { 0xbe0e5821, 0xe718, 0x4f77, \ 10 { 0xab, 0x3e, 0x8e, 0x6c, 0x73, 0xa9, 0xc7, 0x35 } } 11 12 /* 13 * Enable SCP03 support on the SE 14 * 15 * [in] value[0].a Use session keys PTA_SCP03_SESSION_* 16 * 17 * Result: 18 * TEE_SUCCESS - Invoke command success 19 * TEE_ERROR_BAD_PARAMETERS - Incorrect input param 20 * TEE_ERROR_NOT_IMPLEMENTED - Invoke command not implemented 21 * TEE_ERROR_GENERIC - Invoke command failure 22 */ 23 #define PTA_CMD_ENABLE_SCP03 0 24 25 /* Enable the session using the current keys in the Secure Element */ 26 #define PTA_SCP03_SESSION_CURRENT_KEYS 0 27 28 /* Enable the session after replacing the current keys in the Secure Element */ 29 #define PTA_SCP03_SESSION_ROTATE_KEYS 1 30 31 #endif /* __PTA_SCP03_H */ 32