1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2015, Linaro Limited
4  * All rights reserved.
5  */
6 
7 #ifndef TA_HASH_PERF_H
8 #define TA_HASH_PERF_H
9 
10 #define TA_HASH_PERF_UUID { 0x614789f2, 0x39c0, 0x4ebf, \
11 	{ 0xb2, 0x35, 0x92, 0xb3, 0x2a, 0xc1, 0x07, 0xed } }
12 
13 /*
14  * Commands implemented by the TA
15  */
16 
17 #define TA_HASH_PERF_CMD_PREPARE_OP	0
18 #define TA_HASH_PERF_CMD_PROCESS	1
19 
20 /*
21  * Supported algorithms
22  */
23 
24 #define TA_SHA_SHA1	0
25 #define TA_SHA_SHA224	1
26 #define TA_SHA_SHA256	2
27 #define TA_SHA_SHA384	3
28 #define TA_SHA_SHA512	4
29 #define TA_SM3		5
30 #define TA_HMAC_SHA1	6
31 #define TA_HMAC_SHA224	7
32 #define TA_HMAC_SHA256	8
33 #define TA_HMAC_SHA384	9
34 #define TA_HMAC_SHA512	10
35 #define TA_HMAC_SM3	11
36 
37 #endif /* TA_HASH_PERF_H */
38