1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2015, Linaro Limited 4 * All rights reserved. 5 */ 6 7 #ifndef TA_AES_PERF_H 8 #define TA_AES_PERF_H 9 10 #define TA_AES_PERF_UUID { 0xe626662e, 0xc0e2, 0x485c, \ 11 { 0xb8, 0xc8, 0x09, 0xfb, 0xce, 0x6e, 0xdf, 0x3d } } 12 13 /* 14 * Commands implemented by the TA 15 */ 16 17 #define TA_AES_PERF_CMD_PREPARE_KEY 0 18 #define TA_AES_PERF_CMD_PROCESS 1 19 #define TA_AES_PERF_CMD_PROCESS_SDP 2 20 21 /* 22 * Supported AES modes of operation 23 */ 24 25 #define TA_AES_ECB 0 26 #define TA_AES_CBC 1 27 #define TA_AES_CTR 2 28 #define TA_AES_XTS 3 29 #define TA_AES_GCM 4 30 31 /* 32 * AES key sizes 33 */ 34 #define AES_128 128 35 #define AES_192 192 36 #define AES_256 256 37 38 #endif /* TA_AES_PERF_H */ 39