-
Notifications
You must be signed in to change notification settings - Fork 128
/
qat_bssl_err.h
517 lines (511 loc) · 30.1 KB
/
qat_bssl_err.h
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
/*
* Copyright 1995-2024 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
*/
#ifndef QAT_BSSL_ERR_H
# define QAT_BSSL_ERR_H
# define QATerr(f, r) ERR_QAT_error((f), (r), __FILE__, __LINE__)
# define ERR_PUT_error(lib_code, function, reason, file, line) ERR_put_error(lib_code, function, reason, file, line)
# ifdef __cplusplus
extern "C" {
# endif
int ERR_load_QAT_strings(void);
void ERR_unload_QAT_strings(void);
void ERR_QAT_error(int function, int reason, char *file, int line);
# ifdef __cplusplus
}
# endif
/*
* QAT function codes.
*/
# define QAT_F_AES_GCM_TLS_CIPHER 100
# define QAT_F_BUILD_DECRYPT_OP_BUF 101
# define QAT_F_BUILD_ENCRYPT_OP_BUF 102
# define QAT_F_ENGINE_FINISH_BEFORE_FORK_HANDLER 103
# define QAT_F_ENGINE_INIT_CHILD_AT_FORK_HANDLER 104
# define QAT_F_ENGINE_QAT 105
# define QAT_F_EVENT_POLL_FUNC 106
# define QAT_F_MB_ECDH_COMPUTE_KEY 107
# define QAT_F_MB_ECDH_GENERATE_KEY 108
# define QAT_F_MB_ECDSA_DO_VERIFY 109
# define QAT_F_MB_ECDSA_SIGN 110
# define QAT_F_MB_ECDSA_SIGN_SETUP 111
# define QAT_F_MB_ECDSA_SIGN_SIG 112
# define QAT_F_MB_ECDSA_SM2_SIGN 113
# define QAT_F_MB_ECDSA_SM2_VERIFY 114
# define QAT_F_MB_ECDSA_VERIFY 115
# define QAT_F_MB_SM2_CTRL 116
# define QAT_F_MB_SM2_INIT 117
# define QAT_F_MULTIBUFF_RSA_ADD_PADDING_PRIV_ENC 118
# define QAT_F_MULTIBUFF_RSA_ADD_PADDING_PUB_ENC 119
# define QAT_F_MULTIBUFF_RSA_PRIV_DEC 120
# define QAT_F_MULTIBUFF_RSA_PRIV_ENC 121
# define QAT_F_MULTIBUFF_RSA_PUB_DEC 122
# define QAT_F_MULTIBUFF_RSA_PUB_ENC 123
# define QAT_F_MULTIBUFF_VALIDATE_ECX_DERIVE 124
# define QAT_F_MULTIBUFF_X25519_DERIVE 125
# define QAT_F_MULTIBUFF_X25519_KEYGEN 126
# define QAT_F_POLL_INSTANCES 127
# define QAT_F_QAT_ADJUST_THREAD_AFFINITY 128
# define QAT_F_QAT_AES_CCM_CIPHER 129
# define QAT_F_QAT_AES_CCM_CLEANUP 130
# define QAT_F_QAT_AES_CCM_CTRL 131
# define QAT_F_QAT_AES_CCM_INIT 132
# define QAT_F_QAT_AES_CCM_SESSION_INIT 133
# define QAT_F_QAT_AES_CCM_TLS_CIPHER 134
# define QAT_F_QAT_AES_GCM_CIPHER 135
# define QAT_F_QAT_AES_GCM_CLEANUP 136
# define QAT_F_QAT_AES_GCM_CTRL 137
# define QAT_F_QAT_AES_GCM_INIT 138
# define QAT_F_QAT_AES_GCM_SESSION_INIT 139
# define QAT_F_QAT_AES_GCM_TLS_CIPHER 140
# define QAT_F_QAT_CHACHA20_POLY1305_CLEANUP 141
# define QAT_F_QAT_CHACHA20_POLY1305_CTRL 142
# define QAT_F_QAT_CHACHA20_POLY1305_DO_CIPHER 143
# define QAT_F_QAT_CHACHA20_POLY1305_INIT 144
# define QAT_F_QAT_CHACHA20_POLY1305_INIT_KEY_IV 145
# define QAT_F_QAT_CHACHA20_POLY1305_MAC_KEYGEN 146
# define QAT_F_QAT_CHACHA20_POLY1305_TLS_CIPHER 147
# define QAT_F_QAT_CHACHAPOLY_SESSION_DATA_INIT 148
# define QAT_F_QAT_CHACHAPOLY_SETUP_OP_PARAMS 149
# define QAT_F_QAT_CREATE_SM4_CBC_CIPHER_METH 150
# define QAT_F_QAT_CREATE_SM4_CCM_CIPHER_METH 151
# define QAT_F_QAT_CRYPTO_CALLBACKFN 152
# define QAT_F_QAT_DH_COMPUTE_KEY 153
# define QAT_F_QAT_DH_GENERATE_KEY 154
# define QAT_F_QAT_DSA_DO_SIGN 155
# define QAT_F_QAT_DSA_DO_VERIFY 156
# define QAT_F_QAT_DSA_SIGN_SETUP 157
# define QAT_F_QAT_ECDH_COMPUTE_KEY 158
# define QAT_F_QAT_ECDH_GENERATE_KEY 159
# define QAT_F_QAT_ECDSA_DO_SIGN 160
# define QAT_F_QAT_ECDSA_DO_VERIFY 161
# define QAT_F_QAT_ECDSA_SIGN 162
# define QAT_F_QAT_ECDSA_VERIFY 163
# define QAT_F_QAT_ENGINE_CTRL 164
# define QAT_F_QAT_ENGINE_ECDH_COMPUTE_KEY 165
# define QAT_F_QAT_FD_CLEANUP 166
# define QAT_F_QAT_GET_DH_METHODS 167
# define QAT_F_QAT_GET_DSA_METHODS 168
# define QAT_F_QAT_GET_EC_METHODS 169
# define QAT_F_QAT_GET_RSA_METHODS 170
# define QAT_F_QAT_HKDF_CTRL 171
# define QAT_F_QAT_HKDF_DERIVE 172
# define QAT_F_QAT_HKDF_INIT 173
# define QAT_F_QAT_HKDF_PMETH 174
# define QAT_F_QAT_HW_CREATE_SM3_METH 175
# define QAT_F_QAT_HW_FINISH_INT 176
# define QAT_F_QAT_HW_INIT 177
# define QAT_F_QAT_HW_SHA3_OFFLOAD 178
# define QAT_F_QAT_HW_SM2_COMPUTE_Z_DIGEST 179
# define QAT_F_QAT_HW_SM3_CLEANUP 180
# define QAT_F_QAT_HW_SM3_COPY 181
# define QAT_F_QAT_HW_SM3_DO_OFFLOAD 182
# define QAT_F_QAT_HW_SM3_FINAL 183
# define QAT_F_QAT_HW_SM3_SETUP_PARAM 184
# define QAT_F_QAT_HW_SM3_UPDATE 185
# define QAT_F_QAT_INIT_OP_DONE 186
# define QAT_F_QAT_INIT_OP_DONE_PIPE 187
# define QAT_F_QAT_INIT_OP_DONE_RSA_CRT 188
# define QAT_F_QAT_MOD_EXP 189
# define QAT_F_QAT_PKEY_ECX_DERIVE25519 190
# define QAT_F_QAT_PKEY_ECX_DERIVE448 191
# define QAT_F_QAT_PKEY_ECX_KEYGEN 192
# define QAT_F_QAT_PRF_PMETH 193
# define QAT_F_QAT_PRF_TLS_DERIVE 194
# define QAT_F_QAT_REMAP_INSTANCES 195
# define QAT_F_QAT_RSA_DECRYPT 196
# define QAT_F_QAT_RSA_ENCRYPT 197
# define QAT_F_QAT_RSA_PRIV_DEC 198
# define QAT_F_QAT_RSA_PRIV_ENC 199
# define QAT_F_QAT_RSA_PUB_DEC 200
# define QAT_F_QAT_RSA_PUB_ENC 201
# define QAT_F_QAT_SESSION_DATA_INIT 202
# define QAT_F_QAT_SETUP_OP_PARAMS 203
# define QAT_F_QAT_SET_INSTANCE_FOR_THREAD 204
# define QAT_F_QAT_SHA3_CLEANUP 205
# define QAT_F_QAT_SHA3_CTRL 206
# define QAT_F_QAT_SHA3_FINAL 207
# define QAT_F_QAT_SHA3_SESSION_DATA_INIT 208
# define QAT_F_QAT_SHA3_SETUP_PARAM 209
# define QAT_F_QAT_SHA3_UPDATE 210
# define QAT_F_QAT_SM2_COMPUTE_Z_DIGEST 211
# define QAT_F_QAT_SM2_COPY 212
# define QAT_F_QAT_SM2_CTRL 213
# define QAT_F_QAT_SM2_DIGEST_CUSTOM 214
# define QAT_F_QAT_SM2_INIT 215
# define QAT_F_QAT_SM2_SIGN 216
# define QAT_F_QAT_SM2_VERIFY 217
# define QAT_F_QAT_SM4_CBC_CLEANUP 218
# define QAT_F_QAT_SM4_CBC_DO_CIPHER 219
# define QAT_F_QAT_SM4_CBC_INIT 220
# define QAT_F_QAT_SW_INIT 221
# define QAT_F_QAT_SW_SM3_FINAL 222
# define QAT_F_QAT_SW_SM3_INIT 223
# define QAT_F_QAT_SW_SM3_UPDATE 224
# define QAT_F_QAT_SW_SM4_CBC_CIPHER 225
# define QAT_F_QAT_SW_SM4_CBC_CLEANUP 226
# define QAT_F_QAT_SW_SM4_CBC_KEY_INIT 227
# define QAT_F_QAT_SW_SM4_CCM_CLEANUP 228
# define QAT_F_QAT_SW_SM4_CCM_CTRL 229
# define QAT_F_QAT_SW_SM4_CCM_DECRYPT 230
# define QAT_F_QAT_SW_SM4_CCM_DO_CIPHER 231
# define QAT_F_QAT_SW_SM4_CCM_ENCRYPT 232
# define QAT_F_QAT_SW_SM4_CCM_INIT 233
# define QAT_F_QAT_SW_SM4_GCM_CIPHER 234
# define QAT_F_QAT_SW_SM4_GCM_CLEANUP 235
# define QAT_F_QAT_SW_SM4_GCM_CTRL 236
# define QAT_F_QAT_SW_SM4_GCM_DECRYPT 237
# define QAT_F_QAT_SW_SM4_GCM_ENCRYPT 238
# define QAT_F_QAT_SW_SM4_GCM_INIT 239
# define QAT_F_QAT_SW_SM4_GCM_TLS_CIPHER 240
# define QAT_F_QAT_VALIDATE_ECX_DERIVE 241
# define QAT_F_QAT_X25519_PMETH 242
# define QAT_F_QAT_X448_PMETH 243
# define QAT_F_SM2_COMPUTE_MSG_HASH 244
# define QAT_F_VAESGCM_CIPHERS_CTRL 245
# define QAT_F_VAESGCM_CIPHERS_DO_CIPHER 246
# define QAT_F_VAESGCM_CIPHERS_INIT 247
# define QAT_F_VAESGCM_INIT_GCM 248
# define QAT_F_VAESGCM_INIT_IPSEC_MB_MGR 249
# define QAT_F_VAESGCM_INIT_KEY 250
/*
* QAT reason codes.
*/
# define QAT_R_AAD_INVALID_PTR 100
# define QAT_R_AAD_LEN_INVALID 101
# define QAT_R_AAD_MALLOC_FAILURE 102
# define QAT_R_ADD_M2_FAILURE 103
# define QAT_R_ADJUST_DELTA_M1_M2_FAILURE 104
# define QAT_R_ALGO_TYPE_SUPPORTED 105
# define QAT_R_ALGO_TYPE_UNSUPPORTED 106
# define QAT_R_ALLOC_E_CHECK_FAILURE 107
# define QAT_R_ALLOC_MULTIBUFF_RSA_METH_FAILURE 108
# define QAT_R_ALLOC_QAT_DSA_METH_FAILURE 109
# define QAT_R_ALLOC_QAT_RSA_METH_FAILURE 110
# define QAT_R_ALLOC_QAT_X25519_METH_FAILURE 111
# define QAT_R_ALLOC_QAT_X448_METH_FAILURE 112
# define QAT_R_ALLOC_TAG_FAILURE 113
# define QAT_R_BAD_INPUT_PARAMS 114
# define QAT_R_BAD_LENGTH 115
# define QAT_R_BAD_TLS_CLIENT_VERSION 116
# define QAT_R_BN_LIB_FAILURE 117
# define QAT_R_BUFFER_TOO_SMALL 118
# define QAT_R_BUF_CONV_FAIL 119
# define QAT_R_CAPABILITY_FAILURE 120
# define QAT_R_CBC_OPERATION_FAILED 121
# define QAT_R_CHACHAPOLY_CTX_NULL 122
# define QAT_R_CIPHER_DATA_NULL 123
# define QAT_R_CIPHER_OPERATION_FAILED 124
# define QAT_R_CLOSE_READFD_FAILURE 125
# define QAT_R_COMPUTE_FAILURE 126
# define QAT_R_COMPUTE_H_MULTIPLY_Q_FAILURE 127
# define QAT_R_CP_BUF_MALLOC_FAILURE 128
# define QAT_R_CQ_BUF_MALLOC_FAILURE 129
# define QAT_R_CREATE_FREELIST_QUEUE_FAILURE 130
# define QAT_R_CTX_MALLOC_FAILURE 131
# define QAT_R_CTX_NULL 132
# define QAT_R_CURVE_COORDINATE_PARAMS_CONVERT_TO_FB_FAILURE 133
# define QAT_R_CURVE_DOES_NOT_SUPPORT_SIGNING 134
# define QAT_R_C_MODULO_P_FAILURE 135
# define QAT_R_C_MODULO_Q_FAILURE 136
# define QAT_R_C_P_Q_CP_CQ_MALLOC_FAILURE 137
# define QAT_R_DATA_TOO_LARGE_FOR_KEY_SIZE 138
# define QAT_R_DEC_OP_DATA_MALLOC_FAILURE 139
# define QAT_R_DERIVE_FAILURE 140
# define QAT_R_DGSTLEN_INVALID 141
# define QAT_R_DGST_BN_CONV_FAILURE 142
# define QAT_R_DH_NULL 143
# define QAT_R_DINIT_OPERATION_FAILED 144
# define QAT_R_DLEN_INVALID 145
# define QAT_R_DSA_DGST_NULL 146
# define QAT_R_DSA_DGST_SIG_NULL 147
# define QAT_R_ECDH_GET_AFFINE_COORD_FAILED 148
# define QAT_R_ECDH_GROUP_NULL 149
# define QAT_R_ECDH_PRIVATE_KEY_NULL 150
# define QAT_R_ECDH_PRIV_KEY_PUB_KEY_NULL 151
# define QAT_R_ECDH_SET_AFFINE_COORD_FAILED 152
# define QAT_R_ECDH_UNKNOWN_FIELD_TYPE 153
# define QAT_R_ECDSA_MALLOC_FAILURE 154
# define QAT_R_ECDSA_SIGN_FAILURE 155
# define QAT_R_ECDSA_SIGN_NULL 156
# define QAT_R_ECDSA_SIGN_SETUP_FAILURE 157
# define QAT_R_ECDSA_SIG_MALLOC_FAILURE 158
# define QAT_R_ECDSA_SIG_SET_R_S_FAILURE 159
# define QAT_R_ECDSA_VERIFY_FAILURE 160
# define QAT_R_ECDSA_VERIFY_NULL 161
# define QAT_R_ECKEY_GROUP_PUBKEY_SIG_NULL 162
# define QAT_R_EC_KEY_GROUP_PRIV_KEY_NULL 163
# define QAT_R_EC_LIB 164
# define QAT_R_EC_POINT_RETRIEVE_FAILURE 165
# define QAT_R_EINIT_OPERATION_FAILED 166
# define QAT_R_ENC_OP_DATA_MALLOC_FAILURE 167
# define QAT_R_ENGINE_CTRL_CMD_FAILURE 168
# define QAT_R_ENGINE_INIT_FAILURE 169
# define QAT_R_ENGINE_NULL 170
# define QAT_R_EPOLL_CREATE_FAILURE 171
# define QAT_R_EPOLL_CTL_FAILURE 172
# define QAT_R_EVENTS_MALLOC_FAILURE 173
# define QAT_R_EVP_LIB 174
# define QAT_R_FAILED_TO_DECRYPT 175
# define QAT_R_FAILED_TO_GET_PARAMETER 176
# define QAT_R_FAILED_TO_SET_PARAMETER 177
# define QAT_R_FALLBACK_INIT_FAILURE 178
# define QAT_R_FALLBACK_POINTER_NULL 179
# define QAT_R_FIELD_SIZE_INVALID 180
# define QAT_R_FREE_DH_METH_FAILURE 181
# define QAT_R_FREE_MULTIBUFF_RSA_METH_FAILURE 182
# define QAT_R_FREE_QAT_DSA_METH_FAILURE 183
# define QAT_R_FREE_QAT_RSA_METH_FAILURE 184
# define QAT_R_GCM_TAG_VERIFY_FAILURE 185
# define QAT_R_GET_COFACTOR_FAILURE 186
# define QAT_R_GET_FILE_DESCRIPTOR_FAILURE 187
# define QAT_R_GET_GROUP_FAILURE 188
# define QAT_R_GET_INSTANCE_FAILURE 189
# define QAT_R_GET_INSTANCE_INFO_FAILURE 190
# define QAT_R_GET_NUM_INSTANCE_FAILURE 191
# define QAT_R_GET_ORDER_FAILURE 192
# define QAT_R_GET_PQG_FAILURE 193
# define QAT_R_GET_PRIV_KEY_FAILURE 194
# define QAT_R_GROUP_NULL 195
# define QAT_R_GROUP_PRIV_KEY_PUB_KEY_NULL 196
# define QAT_R_GROUP_PUB_KEY_NULL 197
# define QAT_R_H_CONVERT_TO_FB_FAILURE 198
# define QAT_R_ICP_SAL_USERSTART_FAIL 199
# define QAT_R_ID_TOO_LARGE 200
# define QAT_R_INITIALIZE_CTX_FAILURE 201
# define QAT_R_INIT_FAIL 202
# define QAT_R_INIT_FAILURE 203
# define QAT_R_INPUT_DATA_MALLOC_FAILURE 204
# define QAT_R_INPUT_PARAM_INVALID 205
# define QAT_R_INSTANCE_HANDLE_MALLOC_FAILURE 206
# define QAT_R_INSTANCE_UNAVAILABLE 207
# define QAT_R_INTERNAL_ERROR 208
# define QAT_R_INVALID_AAD 209
# define QAT_R_INVALID_ATTACHED_TAG 210
# define QAT_R_INVALID_CTRL_TYPE 211
# define QAT_R_INVALID_CURVE 212
# define QAT_R_INVALID_DATA 213
# define QAT_R_INVALID_DIGEST 214
# define QAT_R_INVALID_HASH_DATA 215
# define QAT_R_INVALID_INPUT 216
# define QAT_R_INVALID_INPUT_LENGTH 217
# define QAT_R_INVALID_INPUT_PARAMETER 218
# define QAT_R_INVALID_IVLEN 219
# define QAT_R_INVALID_IV_LENGTH 220
# define QAT_R_INVALID_KEY 221
# define QAT_R_INVALID_KEY_LENGTH 222
# define QAT_R_INVALID_L 223
# define QAT_R_INVALID_LEN 224
# define QAT_R_INVALID_LENGTH 225
# define QAT_R_INVALID_PEER_KEY 226
# define QAT_R_INVALID_PRIVATE_KEY 227
# define QAT_R_INVALID_PTR 228
# define QAT_R_INVALID_PTR_IV 229
# define QAT_R_INVALID_PUB_KEY 230
# define QAT_R_INVALID_QCTX_MEMORY 231
# define QAT_R_INVALID_TAG 232
# define QAT_R_INVALID_TAG_LEN 233
# define QAT_R_INVALID_TYPE 234
# define QAT_R_IN_KINV_CONVERT_TO_FB_FAILURE 235
# define QAT_R_IN_R_CONVERT_TO_FB_FAILURE 236
# define QAT_R_IPSEC_MGR_NULL 237
# define QAT_R_IV_ALLOC_FAILURE 238
# define QAT_R_IV_GEN_INVALID 239
# define QAT_R_IV_INVALID 240
# define QAT_R_IV_LEN_NOT_SUPPORTED 241
# define QAT_R_IV_MALLOC_FAILURE 242
# define QAT_R_IV_NOTSET 243
# define QAT_R_IV_NULL_PTR_INVALID 244
# define QAT_R_IV_NVALID 245
# define QAT_R_KEYGEN_FAILURE 246
# define QAT_R_KEYS_NOT_SET 247
# define QAT_R_KEY_IV_NOT_SET 248
# define QAT_R_KEY_MALLOC_FAILURE 249
# define QAT_R_KEY_NOTSET 250
# define QAT_R_KEY_NULL 251
# define QAT_R_KEY_SIZE_TOO_SMALL 252
# define QAT_R_K_ALLOCATE_FAILURE 253
# define QAT_R_K_CONVERT_TO_FB_FAILURE 254
# define QAT_R_K_E_ORDER_MALLOC_FAILURE 255
# define QAT_R_K_ORDER_CONVERT_TO_FB_FAILURE 256
# define QAT_R_K_RAND_GENERATE_FAILURE 257
# define QAT_R_M1_DEDUCT_M2_FAILURE 258
# define QAT_R_M1_M2_P_Q_QINV_TMP_MALLOC_FAILURE 259
# define QAT_R_MALLOC_FAILURE 260
# define QAT_R_MAX_RETRIES_EXCEEDED 261
# define QAT_R_MB_FREE_EC_METHOD_FAILURE 262
# define QAT_R_MB_GET_EC_METHOD_MALLOC_FAILURE 263
# define QAT_R_MODULO_P_FAILURE 264
# define QAT_R_MOD_GET_NEXT_INST_FAIL 265
# define QAT_R_MOD_LN_MOD_EXP_FAIL 266
# define QAT_R_MOD_SETUP_ASYNC_EVENT_FAIL 267
# define QAT_R_MSGLEN_NOTSET 268
# define QAT_R_MULTIPLY_QINV_FAILURE 269
# define QAT_R_NID_NOT_SUPPORTED 270
# define QAT_R_NO_PARAMETERS_SET 271
# define QAT_R_N_E_CONVERT_TO_FB_FAILURE 272
# define QAT_R_N_E_NULL 273
# define QAT_R_OP1_BASE_PDATA_MALLOC_FAILURE 274
# define QAT_R_OP2_BASE_PDATA_MALLOC_FAILURE 275
# define QAT_R_OPDATA_A_PDATA_MALLOC_FAILURE 276
# define QAT_R_OPDATA_DATA_MALLOC_FAILURE 277
# define QAT_R_OPDATA_D_MALLOC_FAILURE 278
# define QAT_R_OPDATA_E_MALLOC_FAILURE 279
# define QAT_R_OPDATA_K_MALLOC_FAILURE 280
# define QAT_R_OPDATA_MALLOC_FAILURE 281
# define QAT_R_OPDATA_PDATA_MALLOC_FAILURE 282
# define QAT_R_OPDATA_ZPDATA_MALLOC_FAILURE 283
# define QAT_R_OPDCRT_NULL 284
# define QAT_R_OPDONE_NULL 285
# define QAT_R_OPDPIPE_NULL 286
# define QAT_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 287
# define QAT_R_ORDER_MALLOC_FAILURE 288
# define QAT_R_OUT1_PDATA_MALLOC_FAILURE 289
# define QAT_R_OUT2_PDATA_MALLOC_FAILURE 290
# define QAT_R_OUTPUT_BUFFER_TOO_SMALL 291
# define QAT_R_OUTPUT_BUF_MALLOC_FAILURE 292
# define QAT_R_OUTPUT_BUF_PDATA_MALLOC_FAILURE 293
# define QAT_R_OUTX_MALLOC_FAILURE 294
# define QAT_R_OUTX_OUTY_LEN_NULL 295
# define QAT_R_OUTY_MALLOC_FAILURE 296
# define QAT_R_PADDING_UNKNOWN 297
# define QAT_R_PKCS_DECODING_ERROR 298
# define QAT_R_POLLING_THREAD_CREATE_FAILURE 299
# define QAT_R_POLLING_THREAD_SEM_INIT_FAILURE 300
# define QAT_R_POLLING_THREAD_SIGMASK_FAILURE 301
# define QAT_R_POLL_INSTANCE_FAILURE 302
# define QAT_R_POPDATA_A_PDATA_MALLOC_FAILURE 303
# define QAT_R_POPDATA_MALLOC_FAILURE 304
# define QAT_R_POPDATA_PCURVE_MALLOC_FAILURE 305
# define QAT_R_PPV_MALLOC_FAILURE 306
# define QAT_R_PPV_PDATA_MALLOC_FAILURE 307
# define QAT_R_PRESULTR_MALLOC_FAILURE 308
# define QAT_R_PRESULTR_PDATA_MALLOC_FAILURE 309
# define QAT_R_PRESULTS_MALLOC_FAILURE 310
# define QAT_R_PRESULTS_PDATA_MALLOC_FAILURE 311
# define QAT_R_PRESULTX_MALLOC_FAILURE 312
# define QAT_R_PRESULTX_PDATA_MALLOC_FAILURE 313
# define QAT_R_PRESULTY_LENGTH_CHECK_FAILURE 314
# define QAT_R_PRESULTY_MALLOC_FAILURE 315
# define QAT_R_PRESULTY_PDATA_MALLOC_FAILURE 316
# define QAT_R_PRIV_KEY_DUPLICATE_FAILURE 317
# define QAT_R_PRIV_KEY_K_E_D_CONVERT_TO_FB_FAILURE 318
# define QAT_R_PRIV_KEY_MALLOC_FAILURE 319
# define QAT_R_PRIV_KEY_M_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE 320
# define QAT_R_PRIV_KEY_NULL 321
# define QAT_R_PRIV_KEY_RAND_GENERATE_FAILURE 322
# define QAT_R_PRIV_KEY_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE 323
# define QAT_R_PRIV_KEY_XP_YP_A_B_P_CONVERT_TO_FB_FAILURE 324
# define QAT_R_PTHREAD_CREATE_FAILURE 325
# define QAT_R_PTHREAD_GETAFFINITY_FAILURE 326
# define QAT_R_PTHREAD_JOIN_FAILURE 327
# define QAT_R_PTHREAD_SETAFFINITY_FAILURE 328
# define QAT_R_PUB_KEY_DUPLICATE_FAILURE 329
# define QAT_R_PUB_KEY_MALLOC_FAILURE 330
# define QAT_R_PUB_KEY_NULL 331
# define QAT_R_P_A_B_XG_YG_MALLOC_FAILURE 332
# define QAT_R_P_A_B_XG_YG_M_K_R_ORDER_MALLOC_FAILURE 333
# define QAT_R_P_A_B_XG_YG_XP_YP_M_ORDER_FAILURE 334
# define QAT_R_P_A_B_XP_YP_FAILURE 335
# define QAT_R_P_A_B_XP_YP_MALLOC_FAILURE 336
# define QAT_R_P_G_PRIV_KEY_CONVERT_TO_FB_FAILURE 337
# define QAT_R_P_PUB_PRIV_KEY_CONVERT_TO_FB_FAILURE 338
# define QAT_R_P_Q_DMP_DMQ_CONVERT_TO_FB_FAILURE 339
# define QAT_R_P_Q_DMP_DMQ_IQMP_NULL 340
# define QAT_R_P_Q_G_NULL 341
# define QAT_R_P_Q_G_X_K_CONVERT_TO_FB_FAILURE 342
# define QAT_R_P_Q_G_Y_Z_R_S_CONVERT_TO_FB_FAILURE 343
# define QAT_R_QAT_ALLOC_DH_METH_FAILURE 344
# define QAT_R_QAT_CREATE_ENGINE_FAILURE 345
# define QAT_R_QAT_ECDSA_DO_SIGN_FAIL 346
# define QAT_R_QAT_FREE_EC_METHOD_FAILURE 347
# define QAT_R_QAT_GET_EC_METHOD_MALLOC_FAILURE 348
# define QAT_R_QAT_SET_DH_METH_FAILURE 349
# define QAT_R_QCTX_CTX_NULL 350
# define QAT_R_QCTX_NULL 351
# define QAT_R_RAND_BYTES_FAILURE 352
# define QAT_R_RAND_FAILURE 353
# define QAT_R_RAND_GENERATE_FAILURE 354
# define QAT_R_RESULT_PDATA_ALLOC_FAIL 355
# define QAT_R_RETRIEVE_EC_POINT_FAILURE 356
# define QAT_R_RETRIEVE_ORDER_FAILURE 357
# define QAT_R_RSA_FROM_TO_NULL 358
# define QAT_R_RSA_OUTPUT_BUF_PDATA_MALLOC_FAILURE 359
# define QAT_R_R_Q_COMPARE_FAILURE 360
# define QAT_R_SECRET_KEY_MALLOC_FAILURE 361
# define QAT_R_SECRET_KEY_PDATA_MALLOC_FAILURE 362
# define QAT_R_SEM_POST_FAILURE 363
# define QAT_R_SETUP_ASYNC_EVENT_FAILURE 364
# define QAT_R_SET_ADDRESS_TRANSLATION_FAILURE 365
# define QAT_R_SET_FILE_DESCRIPTOR_NONBLOCKING_FAILURE 366
# define QAT_R_SET_INSTANCE_FAILURE 367
# define QAT_R_SET_MULTIBUFF_RSA_METH_FAILURE 368
# define QAT_R_SET_NOTIFICATION_CALLBACK_FAILURE 369
# define QAT_R_SET_POLLING_THREAD_AFFINITY_FAILURE 370
# define QAT_R_SET_PRIV_KEY_FAILURE 371
# define QAT_R_SET_QAT_DSA_METH_FAILURE 372
# define QAT_R_SET_QAT_RSA_METH_FAILURE 373
# define QAT_R_SET_TAG_INVALID_OP 374
# define QAT_R_SHA3_CTX_NULL 375
# define QAT_R_SIG_GET_R_S_FAILURE 376
# define QAT_R_SIG_MALLOC_FAILURE 377
# define QAT_R_SM2_BAD_SIGNATURE 378
# define QAT_R_SM2_ID_TOO_LARGE 379
# define QAT_R_SM2_INVALID_DIGEST 380
# define QAT_R_SM2_SIGN_NULL 381
# define QAT_R_SM2_SIG_GEN_MALLOC_FAILURE 382
# define QAT_R_SM2_SIG_MALLOC_FAILURE 383
# define QAT_R_SM2_SIG_SET_R_S_FAILURE 384
# define QAT_R_SM2_VERIFY_NULL 385
# define QAT_R_SM3_CTX_NULL 386
# define QAT_R_SM3_FINAL_FAILURE 387
# define QAT_R_SM3_INIT_FAILURE 388
# define QAT_R_SM3_UPDATE_FAILURE 389
# define QAT_R_SM4_CCM_DECRYPT_FAILURE 390
# define QAT_R_SM4_GCM_DECRYPT_FAILURE 391
# define QAT_R_SM4_GCM_ENCRYPT_FAILURE 392
# define QAT_R_SM4_GET_INSTANCE_FAILED 393
# define QAT_R_SM4_GET_SESSIONCTX_SIZE_FAILED 394
# define QAT_R_SM4_MALLOC_FAILED 395
# define QAT_R_SM4_NO_QAT_INSTANCE_AVAILABLE 396
# define QAT_R_SM4_NULL_CKEY 397
# define QAT_R_SM4_NULL_CTX 398
# define QAT_R_SM4_NULL_CTX_OR_KEY 399
# define QAT_R_SM4_NULL_POINTER 400
# define QAT_R_SM4_NULL_QCTX 401
# define QAT_R_SM4_QAT_CONTEXT_NOT_INITIALISED 402
# define QAT_R_SM4_QAT_INITSESSION_FAILED 403
# define QAT_R_SM4_QAT_SUBMIT_REQUEST_FAILED 404
# define QAT_R_SM4_REMOVE_SESSION_FAILED 405
# define QAT_R_SM4_SETUP_META_DATA_FAILED 406
# define QAT_R_SM4_SET_METHODS_FAILED 407
# define QAT_R_SSD_MALLOC_FAILURE 408
# define QAT_R_SSD_NULL 409
# define QAT_R_START_INSTANCE_FAILURE 410
# define QAT_R_STOP_INSTANCE_FAILURE 411
# define QAT_R_SW_GET_COMPUTE_KEY_PFUNC_NULL 412
# define QAT_R_SW_GET_KEYGEN_PFUNC_NULL 413
# define QAT_R_SW_GET_SIGN_PFUNC_NULL 414
# define QAT_R_SW_GET_SIGN_SETUP_PFUNC_NULL 415
# define QAT_R_SW_GET_SIGN_SIG_PFUNC_NULL 416
# define QAT_R_SW_GET_VERIFY_PFUNC_NULL 417
# define QAT_R_SW_GET_VERIFY_SIG_PFUNC_NULL 418
# define QAT_R_SW_METHOD_NULL 419
# define QAT_R_S_NULL 420
# define QAT_R_S_Q_COMPARE_FAILURE 421
# define QAT_R_TAG_NOTSET 422
# define QAT_R_TAG_NOT_NEEDED 423
# define QAT_R_UNKNOWN_PADDING 424
# define QAT_R_UNKNOWN_PADDING_TYPE 425
# define QAT_R_WAKE_PAUSE_JOB_FAILURE 426
# define QAT_R_X_Y_E_MALLOC_FAILURE 427
# define QAT_R_X_Y_TX_TY_BN_MALLOC_FAILURE 428
# define QAT_R_X_Y_Z_MALLOC_FAILURE 429
# define QAT_R_ZALLOC_FAILURE 430
# define QAT_R_Z_ALLOCATE_FAILURE 431
#endif