forked from intel/QAT_Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
e_qat.txt
250 lines (248 loc) · 13 KB
/
e_qat.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
# Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
# Function codes
QAT_F_BIND_QAT:100:bind_qat
QAT_F_BUILD_DECRYPT_OP_BUF:101:build_decrypt_op_buf
QAT_F_BUILD_ENCRYPT_OP_BUF:102:build_encrypt_op_buf
QAT_F_CRT_COMBINE:103:CRT_combine
QAT_F_CRT_PREPARE:104:CRT_prepare
QAT_F_ENGINE_FINISH_BEFORE_FORK_HANDLER:105:engine_finish_before_fork_handler
QAT_F_ENGINE_INIT_CHILD_AT_FORK_HANDLER:106:engine_init_child_at_fork_handler
QAT_F_ENGINE_QAT:107:engine_qat
QAT_F_EVENT_POLL_FUNC:108:event_poll_func
QAT_F_POLL_INSTANCES:109:poll_instances
QAT_F_QAT_ADJUST_THREAD_AFFINITY:110:qat_adjust_thread_affinity
QAT_F_QAT_CRYPTO_CALLBACKFN:111:qat_crypto_callbackFn
QAT_F_QAT_DH_COMPUTE_KEY:112:qat_dh_compute_key
QAT_F_QAT_DH_GENERATE_KEY:113:qat_dh_generate_key
QAT_F_QAT_DSA_DO_SIGN:114:qat_dsa_do_sign
QAT_F_QAT_DSA_DO_VERIFY:115:qat_dsa_do_verify
QAT_F_QAT_DSA_SIGN_SETUP:116:qat_dsa_sign_setup
QAT_F_QAT_ECDH_COMPUTE_KEY:117:qat_ecdh_compute_key
QAT_F_QAT_ECDH_GENERATE_KEY:118:qat_ecdh_generate_key
QAT_F_QAT_ECDSA_DO_SIGN:119:qat_ecdsa_do_sign
QAT_F_QAT_ECDSA_DO_VERIFY:120:qat_ecdsa_do_verify
QAT_F_QAT_ECDSA_SIGN:121:qat_ecdsa_sign
QAT_F_QAT_ECDSA_VERIFY:122:qat_ecdsa_verify
QAT_F_QAT_ENGINE_CTRL:123:qat_engine_ctrl
QAT_F_QAT_ENGINE_ECDH_COMPUTE_KEY:124:qat_engine_ecdh_compute_key
QAT_F_QAT_ENGINE_FINISH_INT:125:qat_engine_finish_int
QAT_F_QAT_ENGINE_INIT:126:qat_engine_init
QAT_F_QAT_FD_CLEANUP:127:qat_fd_cleanup
QAT_F_QAT_FREE_DH_METHODS:128:qat_free_DH_methods
QAT_F_QAT_FREE_DSA_METHODS:129:qat_free_DSA_methods
QAT_F_QAT_FREE_EC_METHODS:130:qat_free_EC_methods
QAT_F_QAT_FREE_RSA_METHODS:131:qat_free_RSA_methods
QAT_F_QAT_GET_DH_METHODS:132:qat_get_DH_methods
QAT_F_QAT_GET_DSA_METHODS:133:qat_get_DSA_methods
QAT_F_QAT_GET_EC_METHODS:134:qat_get_EC_methods
QAT_F_QAT_GET_RSA_METHODS:135:qat_get_RSA_methods
QAT_F_QAT_INIT_OP_DONE:136:qat_init_op_done
QAT_F_QAT_INIT_OP_DONE_PIPE:137:qat_init_op_done_pipe
QAT_F_QAT_INIT_OP_DONE_RSA_CRT:138:qat_init_op_done_rsa_crt
QAT_F_QAT_MOD_EXP:139:qat_mod_exp
QAT_F_QAT_PRF_PMETH:140:qat_prf_pmeth
QAT_F_QAT_PRF_TLS_DERIVE:141:qat_prf_tls_derive
QAT_F_QAT_RSA_DECRYPT:142:qat_rsa_decrypt
QAT_F_QAT_RSA_DECRYPT_CRT:143:qat_rsa_decrypt_CRT
QAT_F_QAT_RSA_ENCRYPT:144:qat_rsa_encrypt
QAT_F_QAT_RSA_PRIV_DEC:145:qat_rsa_priv_dec
QAT_F_QAT_RSA_PRIV_ENC:146:qat_rsa_priv_enc
QAT_F_QAT_RSA_PUB_DEC:147:qat_rsa_pub_dec
QAT_F_QAT_RSA_PUB_ENC:148:qat_rsa_pub_enc
QAT_F_QAT_SET_AFFINE_COORDINATES:149:qat_set_affine_coordinates
QAT_F_QAT_SET_INSTANCE_FOR_THREAD:150:qat_set_instance_for_thread
QAT_F_QAT_SYM_PERFORM_OP:151:qat_sym_perform_op
#Reason codes
QAT_R_ADD_M2_FAILURE:100:add m2 failure
QAT_R_ADJUST_DELTA_M1_M2_FAILURE:101:adjust delta m1 m2 failure
QAT_R_ALLOC_QAT_DSA_METH_FAILURE:102:alloc qat dsa meth failure
QAT_R_ALLOC_QAT_RSA_METH_FAILURE:103:alloc qat rsa meth failure
QAT_R_BUF_CONV_FAIL:104:buf conv fail
QAT_R_CLOSE_FD_FAILURE:105:close fd failure
QAT_R_COMPUTE_H_MULTIPLY_Q_FAILURE:106:compute h multiply q failure
QAT_R_CP_BUF_MALLOC_FAILURE:107:cp buf malloc failure
QAT_R_CQ_BUF_MALLOC_FAILURE:108:cq buf malloc failure
QAT_R_CTX_MALLOC_FAILURE:109:ctx malloc failure
QAT_R_CURVE_COORDINATE_PARAMS_CONVERT_TO_FB_FAILURE:110:\
curve coordinate params convert to fb failure
QAT_R_C_MODULO_P_FAILURE:111:c modulo p failure
QAT_R_C_MODULO_Q_FAILURE:112:c modulo q failure
QAT_R_C_P_Q_CP_CQ_MALLOC_FAILURE:113:c p q cp cq malloc failure
QAT_R_DEC_OP_DATA_MALLOC_FAILURE:114:dec op data malloc failure
QAT_R_DGSTLEN_INVALID:115:dgstlen invalid
QAT_R_DGST_BN_CONV_FAILURE:116:dgst bn conv failure
QAT_R_DH_NULL:117:dh null
QAT_R_DLEN_INVALID:118:dlen invalid
QAT_R_DSA_DGST_NULL:119:dsa dgst null
QAT_R_DSA_DGST_SIG_NULL:120:dsa dgst sig null
QAT_R_ECDH_GET_AFFINE_COORD_FAILED:121:ecdh get affine coord failed
QAT_R_ECDH_GROUP_NULL:122:ecdh group null
QAT_R_ECDH_PRIVATE_KEY_NULL:123:ecdh private key null
QAT_R_ECDH_PRIV_KEY_PUB_KEY_NULL:124:ecdh priv key pub key null
QAT_R_ECDH_SET_AFFINE_COORD_FAILED:125:ecdh set affine coord failed
QAT_R_ECDH_UNKNOWN_FIELD_TYPE:126:ecdh unknown field type
QAT_R_ECDSA_SIG_MALLOC_FAILURE:127:ecdsa sig malloc failure
QAT_R_ECDSA_SIG_SET_R_S_FAILURE:128:ecdsa sig set r s failure
QAT_R_ECKEY_GROUP_PUBKEY_SIG_NULL:129:eckey group pubkey sig null
QAT_R_EC_POINT_RETRIEVE_FAILURE:130:ec point retrieve failure
QAT_R_ENC_OP_DATA_MALLOC_FAILURE:131:enc op data malloc failure
QAT_R_ENGINE_CTRL_CMD_FAILURE:132:engine ctrl cmd failure
QAT_R_ENGINE_ID_ALREADY_DEFINED:133:engine id already defined
QAT_R_ENGINE_INIT_FAILURE:134:engine init failure
QAT_R_ENGINE_NULL:135:engine null
QAT_R_ENGINE_REGISTER_FUNC_FAILURE:136:engine register func failure
QAT_R_ENGINE_SET_CIPHER_FAILURE:137:engine set cipher failure
QAT_R_ENGINE_SET_DH_FAILURE:138:engine set dh failure
QAT_R_ENGINE_SET_DSA_FAILURE:139:engine set dsa failure
QAT_R_ENGINE_SET_EC_FAILURE:140:engine set ec failure
QAT_R_ENGINE_SET_ID_FAILURE:141:engine set id failure
QAT_R_ENGINE_SET_NAME_FAILURE:142:engine set name failure
QAT_R_ENGINE_SET_PKEY_FAILURE:143:engine set pkey failure
QAT_R_ENGINE_SET_RSA_FAILURE:144:engine set rsa failure
QAT_R_EPOLL_CREATE_FAILURE:145:epoll create failure
QAT_R_EPOLL_CTL_FAILURE:146:epoll ctl failure
QAT_R_EVENTS_MALLOC_FAILURE:147:events malloc failure
QAT_R_FALLBACK_POINTER_NULL:148:fallback pointer null
QAT_R_FIELD_SIZE_INVALID:149:field size invalid
QAT_R_FREE_DH_METH_FAILURE:150:free dh meth failure
QAT_R_FREE_QAT_DSA_METH_FAILURE:151:free qat dsa meth failure
QAT_R_FREE_QAT_RSA_METH_FAILURE:152:free qat rsa meth failure
QAT_R_GET_FILE_DESCRIPTOR_FAILURE:153:get file descriptor failure
QAT_R_GET_GROUP_FAILURE:154:get group failure
QAT_R_GET_INSTANCE_FAILURE:155:get instance failure
QAT_R_GET_INSTANCE_INFO_FAILURE:156:get instance info failure
QAT_R_GET_NUM_INSTANCE_FAILURE:157:get num instance failure
QAT_R_GET_PQG_FAILURE:158:get pqg failure
QAT_R_GET_PRIV_KEY_FAILURE:159:get priv key failure
QAT_R_GROUP_PRIV_KEY_PUB_KEY_NULL:160:group priv key pub key null
QAT_R_ICP_SAL_USERSTART_FAIL:161:icp sal userstart fail
QAT_R_INPUT_DATA_MALLOC_FAILURE:162:input data malloc failure
QAT_R_INPUT_PARAM_INVALID:163:input param invalid
QAT_R_INSTANCE_HANDLE_MALLOC_FAILURE:164:instance handle malloc failure
QAT_R_INSTANCE_UNAVAILABLE:165:instance unavailable
QAT_R_INVALID_PUB_KEY:166:invalid pub key
QAT_R_IN_KINV_CONVERT_TO_FB_FAILURE:167:in kinv convert to fb failure
QAT_R_IN_R_CONVERT_TO_FB_FAILURE:168:in r convert to fb failure
QAT_R_KEY_NULL:169:key null
QAT_R_K_ALLOCATE_FAILURE:170:k allocate failure
QAT_R_K_CONVERT_TO_FB_FAILURE:171:k convert to fb failure
QAT_R_K_ORDER_CONVERT_TO_FB_FAILURE:172:k order convert to fb failure
QAT_R_K_RAND_GENERATE_FAILURE:173:k rand generate failure
QAT_R_M1_DEDUCT_M2_FAILURE:174:m1 deduct m2 failure
QAT_R_M1_M2_P_Q_QINV_TMP_MALLOC_FAILURE:175:m1 m2 p q qinv tmp malloc failure
QAT_R_MAX_RETRIES_EXCEEDED:176:max retries exceeded
QAT_R_MEM_DRV_NOT_PRESENT:177:mem drv not present
QAT_R_MODULO_P_FAILURE:178:modulo p failure
QAT_R_MOD_GET_NEXT_INST_FAIL:179:mod get next inst fail
QAT_R_MOD_LN_MOD_EXP_FAIL:180:mod ln mod exp fail
QAT_R_MOD_SETUP_ASYNC_EVENT_FAIL:181:mod setup async event fail
QAT_R_MULTIPLY_QINV_FAILURE:182:multiply qinv failure
QAT_R_N_E_CONVERT_TO_FB_FAILURE:183:n e convert to fb failure
QAT_R_N_E_NULL:184:n e null
QAT_R_OP1_BASE_PDATA_MALLOC_FAILURE:185:op1 base pdata malloc failure
QAT_R_OP2_BASE_PDATA_MALLOC_FAILURE:186:op2 base pdata malloc failure
QAT_R_OPDATA_A_PDATA_MALLOC_FAILURE:187:opdata a pdata malloc failure
QAT_R_OPDATA_DATA_MALLOC_FAILURE:188:opdata data malloc failure
QAT_R_OPDATA_MALLOC_FAILURE:189:opdata malloc failure
QAT_R_OPDATA_PDATA_MALLOC_FAILURE:190:opdata pdata malloc failure
QAT_R_OPDATA_ZPDATA_MALLOC_FAILURE:191:opdata zpdata malloc failure
QAT_R_OPDCRT_NULL:192:opdcrt null
QAT_R_OPDONE_NULL:193:opdone null
QAT_R_OPDPIPE_NULL:194:opdpipe null
QAT_R_ORDER_MALLOC_FAILURE:195:order malloc failure
QAT_R_OUT1_PDATA_MALLOC_FAILURE:196:out1 pdata malloc failure
QAT_R_OUT2_PDATA_MALLOC_FAILURE:197:out2 pdata malloc failure
QAT_R_OUTPUT_BUF_MALLOC_FAILURE:198:output buf malloc failure
QAT_R_OUTPUT_BUF_PDATA_MALLOC_FAILURE:199:output buf pdata malloc failure
QAT_R_OUTX_MALLOC_FAILURE:200:outx malloc failure
QAT_R_OUTX_OUTY_LEN_NULL:201:outx outy len null
QAT_R_OUTY_MALLOC_FAILURE:202:outy malloc failure
QAT_R_PADDING_UNKNOWN:203:padding unknown
QAT_R_POLLING_THREAD_CREATE_FAILURE:204:polling thread create failure
QAT_R_POLLING_THREAD_SIGMASK_FAILURE:205:polling thread sigmask failure
QAT_R_POLL_INSTANCE_FAILURE:206:poll instance failure
QAT_R_PPV_MALLOC_FAILURE:207:ppv malloc failure
QAT_R_PPV_PDATA_MALLOC_FAILURE:208:ppv pdata malloc failure
QAT_R_PRESULTR_MALLOC_FAILURE:209:presultr malloc failure
QAT_R_PRESULTR_PDATA_MALLOC_FAILURE:210:presultr pdata malloc failure
QAT_R_PRESULTS_MALLOC_FAILURE:211:presults malloc failure
QAT_R_PRESULTS_PDATA_MALLOC_FAILURE:212:presults pdata malloc failure
QAT_R_PRESULTX_MALLOC_FAILURE:213:presultx malloc failure
QAT_R_PRESULTX_PDATA_MALLOC_FAILURE:214:presultx pdata malloc failure
QAT_R_PRESULTY_LENGTH_CHECK_FAILURE:215:presulty length check failure
QAT_R_PRESULTY_MALLOC_FAILURE:216:presulty malloc failure
QAT_R_PRESULTY_PDATA_MALLOC_FAILURE:217:presulty pdata malloc failure
QAT_R_PRIV_KEY_DUPLICATE_FAILURE:218:priv key duplicate failure
QAT_R_PRIV_KEY_MALLOC_FAILURE:219:priv key malloc failure
QAT_R_PRIV_KEY_M_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE:220:\
priv key m xg yg a b p convert to fb failure
QAT_R_PRIV_KEY_NULL:221:priv key null
QAT_R_PRIV_KEY_RAND_GENERATE_FAILURE:222:priv key rand generate failure
QAT_R_PRIV_KEY_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE:223:\
priv key xg yg a b p convert to fb failure
QAT_R_PTHREAD_CREATE_FAILURE:224:pthread create failure
QAT_R_PTHREAD_GETAFFINITY_FAILURE:225:pthread getaffinity failure
QAT_R_PTHREAD_JOIN_FAILURE:226:pthread join failure
QAT_R_PTHREAD_KILL_FAILURE:227:pthread kill failure
QAT_R_PTHREAD_SETAFFINITY_FAILURE:228:pthread setaffinity failure
QAT_R_PUB_KEY_DUPLICATE_FAILURE:229:pub key duplicate failure
QAT_R_PUB_KEY_MALLOC_FAILURE:230:pub key malloc failure
QAT_R_PUB_KEY_NULL:231:pub key null
QAT_R_P_A_B_XG_YG_MALLOC_FAILURE:232:p a b xg yg malloc failure
QAT_R_P_A_B_XG_YG_M_K_R_ORDER_MALLOC_FAILURE:233:\
p a b xg yg m k r order malloc failure
QAT_R_P_A_B_XG_YG_XP_YP_M_ORDER_FAILURE:234:p a b xg yg xp yp m order failure
QAT_R_P_G_PRIV_KEY_CONVERT_TO_FB_FAILURE:235:p g priv key convert to fb failure
QAT_R_P_PUB_PRIV_KEY_CONVERT_TO_FB_FAILURE:236:\
p pub priv key convert to fb failure
QAT_R_P_Q_DMP_DMQ_CONVERT_TO_FB_FAILURE:237:p q dmp dmq convert to fb failure
QAT_R_P_Q_DMP_DMQ_IQMP_NULL:238:p q dmp dmq iqmp null
QAT_R_P_Q_G_NULL:239:p q g null
QAT_R_P_Q_G_X_K_CONVERT_TO_FB_FAILURE:240:p q g x k convert to fb failure
QAT_R_P_Q_G_Y_Z_R_S_CONVERT_TO_FB_FAILURE:241:\
p q g y z r s convert to fb failure
QAT_R_QAT_ALLOC_DH_METH_FAILURE:242:qat alloc dh meth failure
QAT_R_QAT_CREATE_ENGINE_FAILURE:243:qat create engine failure
QAT_R_QAT_DEV_NOT_PRESENT:244:qat dev not present
QAT_R_QAT_ECDSA_DO_SIGN_FAIL:245:qat ecdsa do sign fail
QAT_R_QAT_FREE_EC_METHOD_FAILURE:246:qat free ec method failure
QAT_R_QAT_GET_EC_METHOD_MALLOC_FAILURE:247:qat get ec method malloc failure
QAT_R_QAT_SET_DH_METH_FAILURE:248:qat set dh meth failure
QAT_R_RESULT_PDATA_ALLOC_FAIL:249:result pdata alloc fail
QAT_R_RETRIEVE_EC_POINT_FAILURE:250:retrieve ec point failure
QAT_R_RETRIEVE_ORDER_FAILURE:251:retrieve order failure
QAT_R_RSA_FROM_TO_NULL:252:rsa from to null
QAT_R_RSA_OUTPUT_BUF_PDATA_MALLOC_FAILURE:253:\
rsa output buf pdata malloc failure
QAT_R_R_Q_COMPARE_FAILURE:254:r q compare failure
QAT_R_SECRET_KEY_MALLOC_FAILURE:255:secret key malloc failure
QAT_R_SECRET_KEY_PDATA_MALLOC_FAILURE:256:secret key pdata malloc failure
QAT_R_SETUP_ASYNC_EVENT_FAILURE:257:setup async event failure
QAT_R_SET_ADDRESS_TRANSLATION_FAILURE:258:set address translation failure
QAT_R_SET_INSTANCE_FAILURE:259:set instance failure
QAT_R_SET_NOTIFICATION_CALLBACK_FAILURE:260:set notification callback failure
QAT_R_SET_POLLING_THREAD_AFFINITY_FAILURE:261:\
set polling thread affinity failure
QAT_R_SET_PRIV_KEY_FAILURE:262:set priv key failure
QAT_R_SET_QAT_DSA_METH_FAILURE:263:set qat dsa meth failure
QAT_R_SET_QAT_RSA_METH_FAILURE:264:set qat rsa meth failure
QAT_R_SIG_GET_R_S_FAILURE:265:sig get r s failure
QAT_R_SIG_MALLOC_FAILURE:266:sig malloc failure
QAT_R_START_INSTANCE_FAILURE:267:start instance failure
QAT_R_STOP_INSTANCE_FAILURE:268:stop instance failure
QAT_R_SW_GET_COMPUTE_KEY_PFUNC_NULL:269:sw get compute key pfunc null
QAT_R_SW_GET_KEYGEN_PFUNC_NULL:270:sw get keygen pfunc null
QAT_R_SW_GET_SIGN_SIG_PFUNC_NULL:271:sw get sign sig pfunc null
QAT_R_SW_GET_VERIFY_SIG_PFUNC_NULL:272:sw get verify sig pfunc null
QAT_R_SW_METHOD_NULL:273:sw method null
QAT_R_S_NULL:274:s null
QAT_R_S_Q_COMPARE_FAILURE:275:s q compare failure
QAT_R_UNKNOWN_PADDING:276:unknown padding
QAT_R_WAKE_PAUSE_JOB_FAILURE:277:wake pause job failure
QAT_R_X_Y_TX_TY_BN_MALLOC_FAILURE:278:x y tx ty bn malloc failure
QAT_R_Z_ALLOCATE_FAILURE:279:z allocate failure