1 // CSS COMMAND LIST
2 // **** --> processing include file 'config_css_commands.txt'
3 //
4 //
5 // List of commands available in CSS
6 //
7 #define ID_CFG_CSS_CMD_CIPHER 0
8 #define ID_CFG_CSS_CMD_AUTH_CIPHER 1
9 #define ID_CFG_CSS_CMD_RFU_0 2
10 #define ID_CFG_CSS_CMD_RFU_1 3
11 #define ID_CFG_CSS_CMD_ECSIGN 4
12 #define ID_CFG_CSS_CMD_ECVFY 5
13 #define ID_CFG_CSS_CMD_ECKXH 6
14 #define ID_CFG_CSS_CMD_RFU_2 7
15 #define ID_CFG_CSS_CMD_KEYGEN 8
16 #define ID_CFG_CSS_CMD_KEYIN 9
17 #define ID_CFG_CSS_CMD_KEYOUT 10
18 #define ID_CFG_CSS_CMD_KDELETE 11
19 #define ID_CFG_CSS_CMD_KEYPROV 12
20 #define ID_CFG_CSS_CMD_RFU_4 13
21 #define ID_CFG_CSS_CMD_RFU_5 14
22 #define ID_CFG_CSS_CMD_RFU_6 15
23 #define ID_CFG_CSS_CMD_CKDF 16
24 #define ID_CFG_CSS_CMD_HKDF 17
25 #define ID_CFG_CSS_CMD_TLS 18
26 #define ID_CFG_CSS_CMD_RFU_7 19
27 #define ID_CFG_CSS_CMD_HASH 20
28 #define ID_CFG_CSS_CMD_HMAC 21
29 #define ID_CFG_CSS_CMD_CMAC 22
30 #define ID_CFG_CSS_CMD_RFU_9 23
31 #define ID_CFG_CSS_CMD_DRBG_REQ 24
32 #define ID_CFG_CSS_CMD_DRBG_TEST 25
33 #define ID_CFG_CSS_CMD_RFU_11 26
34 #define ID_CFG_CSS_CMD_RFU_12 27
35 #define ID_CFG_CSS_CMD_DTRNG_CFG_LOAD 28
36 #define ID_CFG_CSS_CMD_DTRNG_EVAL 29
37 #define ID_CFG_CSS_CMD_GDET_CFG_LOAD 30
38 #define ID_CFG_CSS_CMD_GDET_TRIM 31
39 // Command Configurations
40 // ID_CFG_CSS_CMD_CIPHER
41 #define ID_CFG_CSS_CMD_CIPHER_DCRYPT 1
42 #define ID_CFG_CSS_CMD_CIPHER_CPHMDE0 2
43 #define ID_CFG_CSS_CMD_CIPHER_CPHMDE1 3
44 #define ID_CFG_CSS_CMD_CIPHER_CPHSOE 4
45 #define ID_CFG_CSS_CMD_CIPHER_CPHSIE 5
46 #define ID_CFG_CSS_CMD_CIPHER_EXTKEY 13
47 // ID_CFG_CSS_CMD_AUTH_CIPHER
48 #define ID_CFG_CSS_CMD_AUTH_CIPHER_DCRYPT 1
49 #define ID_CFG_CSS_CMD_AUTH_CIPHER_ACPMOD0 2
50 #define ID_CFG_CSS_CMD_AUTH_CIPHER_ACPMOD1 3
51 #define ID_CFG_CSS_CMD_AUTH_CIPHER_CPHSOE 4
52 #define ID_CFG_CSS_CMD_AUTH_CIPHER_CPHSIE 5
53 #define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW0 6
54 #define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW1 7
55 #define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW2 8
56 #define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW3 9
57 #define ID_CFG_CSS_CMD_AUTH_CIPHER_LASTINIT 10
58 #define ID_CFG_CSS_CMD_AUTH_CIPHER_EXTKEY 13
59 // ID_CFG_CSS_CMD_ECSIGN
60 #define ID_CFG_CSS_CMD_ECSIGN_CFG_ECHASHCHL 0
61 #define ID_CFG_CSS_CMD_ECSIGN_CFG_SIGNRTF 1
62 #define ID_CFG_CSS_CMD_ECSIGN_CFG_REVF 4
63 // ID_CFG_CSS_CMD_ECVFY
64 #define ID_CFG_CSS_CMD_ECVFY_CFG_ECHASHCHL 0
65 #define ID_CFG_CSS_CMD_ECVFY_CFG_REVF 4
66 // ID_CFG_CSS_CMD_ECKXH
67 #define ID_CFG_CSS_CMD_ECKXH_REVF 4
68 // ID_CFG_CSS_CMD_KEYGEN
69 #define ID_CFG_CSS_CMD_KEYGEN_KGSIGN 0
70 #define ID_CFG_CSS_CMD_KEYGEN_KGTYPEDH 1
71 #define ID_CFG_CSS_CMD_KEYGEN_KGSRC 2
72 #define ID_CFG_CSS_CMD_KEYGEN_SKIP_PBK 3
73 #define ID_CFG_CSS_CMD_KEYGEN_REVF 4
74 #define ID_CFG_CSS_CMD_KEYGEN_KGSIGN_RND 5
75 // ID_CFG_CSS_CMD_KEYIN
76 #define ID_CFG_CSS_CMD_KEYIN_KFMT0 6
77 #define ID_CFG_CSS_CMD_KEYIN_KFMT1 7
78 // ID_CFG_CSS_CMD_KEYPROV
79 #define ID_CFG_CSS_CMD_KEYPROV_ICEN 0
80 // ID_CFG_CSS_CMD_CKDF
81 #define ID_CFG_CSS_CMD_CKDF_CKDF_ALGO0 12
82 #define ID_CFG_CSS_CMD_CKDF_CKDF_ALGO1 13
83 // ID_CFG_CSS_CMD_HKDF
84 #define ID_CFG_CSS_CMD_HKDF_RTFDRVDAT 0
85 #define ID_CFG_CSS_CMD_HKDF_HKDF_ALGO 1
86 #define ID_CFG_CSS_CMD_HKDF_SINGLE_STEP 2
87 // ID_CFG_CSS_CMD_TLS
88 #define ID_CFG_CSS_CMD_TLS_FINALIZE 10
89 // ID_CFG_CSS_CMD_HASH
90 #define ID_CFG_CSS_CMD_HASH_HASHINI 2
91 #define ID_CFG_CSS_CMD_HASH_HASHLD 3
92 // ID_CFG_CSS_CMD_HASH_HASHMD0
93 #define ID_CFG_CSS_CMD_HASH_HASHMD0 4
94 // ID_CFG_CSS_CMD_HASH_HASHMD1
95 #define ID_CFG_CSS_CMD_HASH_HASHMD1 5
96 #define ID_CFG_CSS_CMD_HASH_HASHOE 6
97 #define ID_CFG_CSS_CMD_HASH_RTFUPD 7
98 #define ID_CFG_CSS_CMD_HASH_RTFOE 8
99 // ID_CFG_CSS_CMD_HMAC
100 #define ID_CFG_CSS_CMD_HMAC_EXTKEY 13
101 // ID_CFG_CSS_CMD_CMAC
102 #define ID_CFG_CSS_CMD_CMAC_INIT 0
103 #define ID_CFG_CSS_CMD_CMAC_FINALIZE 1
104 #define ID_CFG_CSS_CMD_CMAC_SOE 2
105 #define ID_CFG_CSS_CMD_CMAC_SIE 3
106 #define ID_CFG_CSS_CMD_CMAC_EXTKEY 13
107 // ID_CFG_CSS_CMD_DRBG_TEST
108 #define ID_CFG_CSS_CMD_DRBG_TEST_MODE0 0
109 #define ID_CFG_CSS_CMD_DRBG_TEST_MODE1 1
110 
111