# Copyright 1999-2023 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (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

#Reason codes
QAT_R_AAD_INVALID_PTR:100:aad invalid ptr
QAT_R_AAD_LEN_INVALID:101:aad len invalid
QAT_R_AAD_MALLOC_FAILURE:102:aad malloc failure
QAT_R_ADD_M2_FAILURE:103:add m2 failure
QAT_R_ADJUST_DELTA_M1_M2_FAILURE:104:adjust delta m1 m2 failure
QAT_R_ALGO_TYPE_SUPPORTED:105:algo type supported
QAT_R_ALGO_TYPE_UNSUPPORTED:106:algo type unsupported
QAT_R_ALLOC_E_CHECK_FAILURE:107:alloc e check failure
QAT_R_ALLOC_MULTIBUFF_RSA_METH_FAILURE:108:alloc multibuff rsa meth failure
QAT_R_ALLOC_QAT_DSA_METH_FAILURE:109:alloc qat dsa meth failure
QAT_R_ALLOC_QAT_RSA_METH_FAILURE:110:alloc qat rsa meth failure
QAT_R_ALLOC_QAT_X25519_METH_FAILURE:111:alloc qat x25519 meth failure
QAT_R_ALLOC_QAT_X448_METH_FAILURE:112:alloc qat x448 meth failure
QAT_R_ALLOC_TAG_FAILURE:113:alloc tag failure
QAT_R_BAD_INPUT_PARAMS:114:bad input params
QAT_R_BN_LIB_FAILURE:115:bn lib failure
QAT_R_BUFFER_TOO_SMALL:116:buffer too small
QAT_R_BUF_CONV_FAIL:117:buf conv fail
QAT_R_CAPABILITY_FAILURE:118:capability failure
QAT_R_CBC_OPERATION_FAILED:119:cbc operation failed
QAT_R_CHACHAPOLY_CTX_NULL:120:chachapoly ctx null
QAT_R_CIPHER_DATA_NULL:121:cipher data null
QAT_R_CIPHER_OPERATION_FAILED:122:cipher operation failed
QAT_R_CLOSE_READFD_FAILURE:123:close readfd failure
QAT_R_COMPUTE_FAILURE:124:compute failure
QAT_R_COMPUTE_H_MULTIPLY_Q_FAILURE:125:compute h multiply q failure
QAT_R_CP_BUF_MALLOC_FAILURE:126:cp buf malloc failure
QAT_R_CQ_BUF_MALLOC_FAILURE:127:cq buf malloc failure
QAT_R_CREATE_FREELIST_QUEUE_FAILURE:128:create freelist queue failure
QAT_R_CTX_MALLOC_FAILURE:129:ctx malloc failure
QAT_R_CTX_NULL:130:ctx null
QAT_R_CURVE_COORDINATE_PARAMS_CONVERT_TO_FB_FAILURE:131:\
	curve coordinate params convert to fb failure
QAT_R_CURVE_DOES_NOT_SUPPORT_SIGNING:132:curve does not support signing
QAT_R_C_MODULO_P_FAILURE:133:c modulo p failure
QAT_R_C_MODULO_Q_FAILURE:134:c modulo q failure
QAT_R_C_P_Q_CP_CQ_MALLOC_FAILURE:135:c p q cp cq malloc failure
QAT_R_DEC_OP_DATA_MALLOC_FAILURE:136:dec op data malloc failure
QAT_R_DERIVE_FAILURE:137:derive failure
QAT_R_DGSTLEN_INVALID:138:dgstlen invalid
QAT_R_DGST_BN_CONV_FAILURE:139:dgst bn conv failure
QAT_R_DH_NULL:140:dh null
QAT_R_DINIT_OPERATION_FAILED:141:dinit operation failed
QAT_R_DLEN_INVALID:142:dlen invalid
QAT_R_DSA_DGST_NULL:143:dsa dgst null
QAT_R_DSA_DGST_SIG_NULL:144:dsa dgst sig null
QAT_R_ECDH_GET_AFFINE_COORD_FAILED:145:ecdh get affine coord failed
QAT_R_ECDH_GROUP_NULL:146:ecdh group null
QAT_R_ECDH_PRIVATE_KEY_NULL:147:ecdh private key null
QAT_R_ECDH_PRIV_KEY_PUB_KEY_NULL:148:ecdh priv key pub key null
QAT_R_ECDH_SET_AFFINE_COORD_FAILED:149:ecdh set affine coord failed
QAT_R_ECDH_UNKNOWN_FIELD_TYPE:150:ecdh unknown field type
QAT_R_ECDSA_MALLOC_FAILURE:151:ecdsa malloc failure
QAT_R_ECDSA_SIGN_FAILURE:152:ecdsa sign failure
QAT_R_ECDSA_SIGN_NULL:153:ecdsa sign null
QAT_R_ECDSA_SIGN_SETUP_FAILURE:154:ecdsa sign setup failure
QAT_R_ECDSA_SIG_MALLOC_FAILURE:155:ecdsa sig malloc failure
QAT_R_ECDSA_SIG_SET_R_S_FAILURE:156:ecdsa sig set r s failure
QAT_R_ECDSA_VERIFY_FAILURE:157:ecdsa verify failure
QAT_R_ECDSA_VERIFY_NULL:158:ecdsa verify null
QAT_R_ECKEY_GROUP_PUBKEY_SIG_NULL:159:eckey group pubkey sig null
QAT_R_EC_KEY_GROUP_PRIV_KEY_NULL:160:ec key group priv key null
QAT_R_EC_LIB:161:ec lib
QAT_R_EC_POINT_RETRIEVE_FAILURE:162:ec point retrieve failure
QAT_R_EINIT_OPERATION_FAILED:163:einit operation failed
QAT_R_ENC_OP_DATA_MALLOC_FAILURE:164:enc op data malloc failure
QAT_R_ENGINE_CTRL_CMD_FAILURE:165:engine ctrl cmd failure
QAT_R_ENGINE_INIT_FAILURE:166:engine init failure
QAT_R_ENGINE_NULL:167:engine null
QAT_R_EPOLL_CREATE_FAILURE:168:epoll create failure
QAT_R_EPOLL_CTL_FAILURE:169:epoll ctl failure
QAT_R_EVENTS_MALLOC_FAILURE:170:events malloc failure
QAT_R_EVP_LIB:171:evp lib
QAT_R_FAILED_TO_GET_PARAMETER:172:failed to get parameter
QAT_R_FAILED_TO_SET_PARAMETER:173:failed to set parameter
QAT_R_FALLBACK_INIT_FAILURE:174:fallback init failure
QAT_R_FALLBACK_POINTER_NULL:175:fallback pointer null
QAT_R_FIELD_SIZE_INVALID:176:field size invalid
QAT_R_FREE_DH_METH_FAILURE:177:free dh meth failure
QAT_R_FREE_MULTIBUFF_RSA_METH_FAILURE:178:free multibuff rsa meth failure
QAT_R_FREE_QAT_DSA_METH_FAILURE:179:free qat dsa meth failure
QAT_R_FREE_QAT_RSA_METH_FAILURE:180:free qat rsa meth failure
QAT_R_GCM_TAG_VERIFY_FAILURE:181:gcm tag verify failure
QAT_R_GET_COFACTOR_FAILURE:182:get cofactor failure
QAT_R_GET_FILE_DESCRIPTOR_FAILURE:183:get file descriptor failure
QAT_R_GET_GROUP_FAILURE:184:get group failure
QAT_R_GET_INSTANCE_FAILURE:185:get instance failure
QAT_R_GET_INSTANCE_INFO_FAILURE:186:get instance info failure
QAT_R_GET_NUM_INSTANCE_FAILURE:187:get num instance failure
QAT_R_GET_ORDER_FAILURE:188:get order failure
QAT_R_GET_PQG_FAILURE:189:get pqg failure
QAT_R_GET_PRIV_KEY_FAILURE:190:get priv key failure
QAT_R_GROUP_NULL:191:group null
QAT_R_GROUP_PRIV_KEY_PUB_KEY_NULL:192:group priv key pub key null
QAT_R_GROUP_PUB_KEY_NULL:193:group pub key null
QAT_R_H_CONVERT_TO_FB_FAILURE:194:h convert to fb failure
QAT_R_ICP_SAL_USERSTART_FAIL:195:icp sal userstart fail
QAT_R_ID_TOO_LARGE:196:id too large
QAT_R_INITIALIZE_CTX_FAILURE:197:initialize ctx failure
QAT_R_INIT_FAILURE:198:init failure
QAT_R_INPUT_DATA_MALLOC_FAILURE:199:input data malloc failure
QAT_R_INPUT_PARAM_INVALID:200:input param invalid
QAT_R_INSTANCE_HANDLE_MALLOC_FAILURE:201:instance handle malloc failure
QAT_R_INSTANCE_UNAVAILABLE:202:instance unavailable
QAT_R_INTERNAL_ERROR:203:internal error
QAT_R_INVALID_AAD:204:invalid aad
QAT_R_INVALID_ATTACHED_TAG:205:invalid attached tag
QAT_R_INVALID_CTRL_TYPE:206:invalid ctrl type
QAT_R_INVALID_CURVE:207:invalid curve
QAT_R_INVALID_DATA:208:invalid data
QAT_R_INVALID_DIGEST:209:invalid digest
QAT_R_INVALID_HASH_DATA:210:invalid hash data
QAT_R_INVALID_INPUT:211:invalid input
QAT_R_INVALID_INPUT_LENGTH:212:invalid input length
QAT_R_INVALID_INPUT_PARAMETER:213:invalid input parameter
QAT_R_INVALID_IVLEN:214:invalid ivlen
QAT_R_INVALID_IV_LENGTH:215:invalid iv length
QAT_R_INVALID_KEY_LENGTH:216:invalid key length
QAT_R_INVALID_L:217:invalid l
QAT_R_INVALID_LEN:218:invalid len
QAT_R_INVALID_PEER_KEY:219:invalid peer key
QAT_R_INVALID_PRIVATE_KEY:220:invalid private key
QAT_R_INVALID_PTR:221:invalid ptr
QAT_R_INVALID_PTR_IV:222:invalid ptr iv
QAT_R_INVALID_PUB_KEY:223:invalid pub key
QAT_R_INVALID_QCTX_MEMORY:224:invalid qctx memory
QAT_R_INVALID_TAG:225:invalid tag
QAT_R_INVALID_TAG_LEN:226:invalid tag len
QAT_R_INVALID_TYPE:227:invalid type
QAT_R_IN_KINV_CONVERT_TO_FB_FAILURE:228:in kinv convert to fb failure
QAT_R_IN_R_CONVERT_TO_FB_FAILURE:229:in r convert to fb failure
QAT_R_IPSEC_MGR_NULL:230:ipsec mgr null
QAT_R_IV_ALLOC_FAILURE:231:iv alloc failure
QAT_R_IV_GEN_INVALID:232:iv gen invalid
QAT_R_IV_INVALID:233:iv invalid
QAT_R_IV_LEN_NOT_SUPPORTED:234:iv len not supported
QAT_R_IV_MALLOC_FAILURE:235:iv malloc failure
QAT_R_IV_NOTSET:236:iv notset
QAT_R_IV_NULL_PTR_INVALID:237:iv null ptr invalid
QAT_R_IV_NVALID:238:iv nvalid
QAT_R_KEYGEN_FAILURE:239:keygen failure
QAT_R_KEYS_NOT_SET:240:keys not set
QAT_R_KEY_IV_NOT_SET:241:key iv not set
QAT_R_KEY_MALLOC_FAILURE:242:key malloc failure
QAT_R_KEY_NOTSET:243:key notset
QAT_R_KEY_NULL:244:key null
QAT_R_K_ALLOCATE_FAILURE:245:k allocate failure
QAT_R_K_CONVERT_TO_FB_FAILURE:246:k convert to fb failure
QAT_R_K_E_ORDER_MALLOC_FAILURE:247:k e order malloc failure
QAT_R_K_ORDER_CONVERT_TO_FB_FAILURE:248:k order convert to fb failure
QAT_R_K_RAND_GENERATE_FAILURE:249:k rand generate failure
QAT_R_M1_DEDUCT_M2_FAILURE:250:m1 deduct m2 failure
QAT_R_M1_M2_P_Q_QINV_TMP_MALLOC_FAILURE:251:m1 m2 p q qinv tmp malloc failure
QAT_R_MALLOC_FAILURE:252:malloc failure
QAT_R_MAX_RETRIES_EXCEEDED:253:max retries exceeded
QAT_R_MB_FREE_EC_METHOD_FAILURE:254:mb free ec method failure
QAT_R_MB_GET_EC_METHOD_MALLOC_FAILURE:255:mb get ec method malloc failure
QAT_R_MODULO_P_FAILURE:256:modulo p failure
QAT_R_MOD_GET_NEXT_INST_FAIL:257:mod get next inst fail
QAT_R_MOD_LN_MOD_EXP_FAIL:258:mod ln mod exp fail
QAT_R_MOD_SETUP_ASYNC_EVENT_FAIL:259:mod setup async event fail
QAT_R_MSGLEN_NOTSET:260:msglen notset
QAT_R_MULTIPLY_QINV_FAILURE:261:multiply qinv failure
QAT_R_NID_NOT_SUPPORTED:262:nid not supported
QAT_R_NO_PARAMETERS_SET:263:no parameters set
QAT_R_N_E_CONVERT_TO_FB_FAILURE:264:n e convert to fb failure
QAT_R_N_E_NULL:265:n e null
QAT_R_OP1_BASE_PDATA_MALLOC_FAILURE:266:op1 base pdata malloc failure
QAT_R_OP2_BASE_PDATA_MALLOC_FAILURE:267:op2 base pdata malloc failure
QAT_R_OPDATA_A_PDATA_MALLOC_FAILURE:268:opdata a pdata malloc failure
QAT_R_OPDATA_DATA_MALLOC_FAILURE:269:opdata data malloc failure
QAT_R_OPDATA_D_MALLOC_FAILURE:270:opdata d malloc failure
QAT_R_OPDATA_E_MALLOC_FAILURE:271:opdata e malloc failure
QAT_R_OPDATA_K_MALLOC_FAILURE:272:opdata k malloc failure
QAT_R_OPDATA_MALLOC_FAILURE:273:opdata malloc failure
QAT_R_OPDATA_PDATA_MALLOC_FAILURE:274:opdata pdata malloc failure
QAT_R_OPDATA_ZPDATA_MALLOC_FAILURE:275:opdata zpdata malloc failure
QAT_R_OPDCRT_NULL:276:opdcrt null
QAT_R_OPDONE_NULL:277:opdone null
QAT_R_OPDPIPE_NULL:278:opdpipe null
QAT_R_ORDER_MALLOC_FAILURE:279:order malloc failure
QAT_R_OUT1_PDATA_MALLOC_FAILURE:280:out1 pdata malloc failure
QAT_R_OUT2_PDATA_MALLOC_FAILURE:281:out2 pdata malloc failure
QAT_R_OUTPUT_BUFFER_TOO_SMALL:282:output buffer too small
QAT_R_OUTPUT_BUF_MALLOC_FAILURE:283:output buf malloc failure
QAT_R_OUTPUT_BUF_PDATA_MALLOC_FAILURE:284:output buf pdata malloc failure
QAT_R_OUTX_MALLOC_FAILURE:285:outx malloc failure
QAT_R_OUTX_OUTY_LEN_NULL:286:outx outy len null
QAT_R_OUTY_MALLOC_FAILURE:287:outy malloc failure
QAT_R_PADDING_UNKNOWN:288:padding unknown
QAT_R_POLLING_THREAD_CREATE_FAILURE:289:polling thread create failure
QAT_R_POLLING_THREAD_SEM_INIT_FAILURE:290:polling thread sem init failure
QAT_R_POLLING_THREAD_SIGMASK_FAILURE:291:polling thread sigmask failure
QAT_R_POLL_INSTANCE_FAILURE:292:poll instance failure
QAT_R_POPDATA_A_PDATA_MALLOC_FAILURE:293:popdata a pdata malloc failure
QAT_R_POPDATA_MALLOC_FAILURE:294:popdata malloc failure
QAT_R_POPDATA_PCURVE_MALLOC_FAILURE:295:popdata pcurve malloc failure
QAT_R_PPV_MALLOC_FAILURE:296:ppv malloc failure
QAT_R_PPV_PDATA_MALLOC_FAILURE:297:ppv pdata malloc failure
QAT_R_PRESULTR_MALLOC_FAILURE:298:presultr malloc failure
QAT_R_PRESULTR_PDATA_MALLOC_FAILURE:299:presultr pdata malloc failure
QAT_R_PRESULTS_MALLOC_FAILURE:300:presults malloc failure
QAT_R_PRESULTS_PDATA_MALLOC_FAILURE:301:presults pdata malloc failure
QAT_R_PRESULTX_MALLOC_FAILURE:302:presultx malloc failure
QAT_R_PRESULTX_PDATA_MALLOC_FAILURE:303:presultx pdata malloc failure
QAT_R_PRESULTY_LENGTH_CHECK_FAILURE:304:presulty length check failure
QAT_R_PRESULTY_MALLOC_FAILURE:305:presulty malloc failure
QAT_R_PRESULTY_PDATA_MALLOC_FAILURE:306:presulty pdata malloc failure
QAT_R_PRIV_KEY_DUPLICATE_FAILURE:307:priv key duplicate failure
QAT_R_PRIV_KEY_K_E_D_CONVERT_TO_FB_FAILURE:308:\
	priv key k e d convert to fb failure
QAT_R_PRIV_KEY_MALLOC_FAILURE:309:priv key malloc failure
QAT_R_PRIV_KEY_M_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE:310:\
	priv key m xg yg a b p convert to fb failure
QAT_R_PRIV_KEY_NULL:311:priv key null
QAT_R_PRIV_KEY_RAND_GENERATE_FAILURE:312:priv key rand generate failure
QAT_R_PRIV_KEY_XG_YG_A_B_P_CONVERT_TO_FB_FAILURE:313:\
	priv key xg yg a b p convert to fb failure
QAT_R_PRIV_KEY_XP_YP_A_B_P_CONVERT_TO_FB_FAILURE:314:\
	priv key xp yp a b p convert to fb failure
QAT_R_PTHREAD_CREATE_FAILURE:315:pthread create failure
QAT_R_PTHREAD_GETAFFINITY_FAILURE:316:pthread getaffinity failure
QAT_R_PTHREAD_JOIN_FAILURE:317:pthread join failure
QAT_R_PTHREAD_SETAFFINITY_FAILURE:318:pthread setaffinity failure
QAT_R_PUB_KEY_DUPLICATE_FAILURE:319:pub key duplicate failure
QAT_R_PUB_KEY_MALLOC_FAILURE:320:pub key malloc failure
QAT_R_PUB_KEY_NULL:321:pub key null
QAT_R_P_A_B_XG_YG_MALLOC_FAILURE:322:p a b xg yg malloc failure
QAT_R_P_A_B_XG_YG_M_K_R_ORDER_MALLOC_FAILURE:323:\
	p a b xg yg m k r order malloc failure
QAT_R_P_A_B_XG_YG_XP_YP_M_ORDER_FAILURE:324:p a b xg yg xp yp m order failure
QAT_R_P_A_B_XP_YP_FAILURE:325:p a b xp yp failure
QAT_R_P_A_B_XP_YP_MALLOC_FAILURE:326:p a b xp yp malloc failure
QAT_R_P_G_PRIV_KEY_CONVERT_TO_FB_FAILURE:327:p g priv key convert to fb failure
QAT_R_P_PUB_PRIV_KEY_CONVERT_TO_FB_FAILURE:328:\
	p pub priv key convert to fb failure
QAT_R_P_Q_DMP_DMQ_CONVERT_TO_FB_FAILURE:329:p q dmp dmq convert to fb failure
QAT_R_P_Q_DMP_DMQ_IQMP_NULL:330:p q dmp dmq iqmp null
QAT_R_P_Q_G_NULL:331:p q g null
QAT_R_P_Q_G_X_K_CONVERT_TO_FB_FAILURE:332:p q g x k convert to fb failure
QAT_R_P_Q_G_Y_Z_R_S_CONVERT_TO_FB_FAILURE:333:\
	p q g y z r s convert to fb failure
QAT_R_QAT_ALLOC_DH_METH_FAILURE:334:qat alloc dh meth failure
QAT_R_QAT_CREATE_ENGINE_FAILURE:335:qat create engine failure
QAT_R_QAT_ECDSA_DO_SIGN_FAIL:336:qat ecdsa do sign fail
QAT_R_QAT_FREE_EC_METHOD_FAILURE:337:qat free ec method failure
QAT_R_QAT_GET_EC_METHOD_MALLOC_FAILURE:338:qat get ec method malloc failure
QAT_R_QAT_SET_DH_METH_FAILURE:339:qat set dh meth failure
QAT_R_QCTX_CTX_NULL:340:qctx ctx null
QAT_R_QCTX_NULL:341:qctx null
QAT_R_RAND_BYTES_FAILURE:342:rand bytes failure
QAT_R_RAND_FAILURE:343:rand failure
QAT_R_RAND_GENERATE_FAILURE:344:rand generate failure
QAT_R_RESULT_PDATA_ALLOC_FAIL:345:result pdata alloc fail
QAT_R_RETRIEVE_EC_POINT_FAILURE:346:retrieve ec point failure
QAT_R_RETRIEVE_ORDER_FAILURE:347:retrieve order failure
QAT_R_RSA_FROM_TO_NULL:348:rsa from to null
QAT_R_RSA_OUTPUT_BUF_PDATA_MALLOC_FAILURE:349:\
	rsa output buf pdata malloc failure
QAT_R_R_Q_COMPARE_FAILURE:350:r q compare failure
QAT_R_SECRET_KEY_MALLOC_FAILURE:351:secret key malloc failure
QAT_R_SECRET_KEY_PDATA_MALLOC_FAILURE:352:secret key pdata malloc failure
QAT_R_SEM_POST_FAILURE:353:sem post failure
QAT_R_SETUP_ASYNC_EVENT_FAILURE:354:setup async event failure
QAT_R_SET_ADDRESS_TRANSLATION_FAILURE:355:set address translation failure
QAT_R_SET_FILE_DESCRIPTOR_NONBLOCKING_FAILURE:356:\
	set file descriptor nonblocking failure
QAT_R_SET_INSTANCE_FAILURE:357:set instance failure
QAT_R_SET_MULTIBUFF_RSA_METH_FAILURE:358:set multibuff rsa meth failure
QAT_R_SET_NOTIFICATION_CALLBACK_FAILURE:359:set notification callback failure
QAT_R_SET_POLLING_THREAD_AFFINITY_FAILURE:360:\
	set polling thread affinity failure
QAT_R_SET_PRIV_KEY_FAILURE:361:set priv key failure
QAT_R_SET_QAT_DSA_METH_FAILURE:362:set qat dsa meth failure
QAT_R_SET_QAT_RSA_METH_FAILURE:363:set qat rsa meth failure
QAT_R_SET_TAG_INVALID_OP:364:set tag invalid op
QAT_R_SHA3_CTX_NULL:365:sha3 ctx null
QAT_R_SIG_GET_R_S_FAILURE:366:sig get r s failure
QAT_R_SIG_MALLOC_FAILURE:367:sig malloc failure
QAT_R_SM2_BAD_SIGNATURE:368:sm2 bad signature
QAT_R_SM2_ID_TOO_LARGE:369:sm2 id too large
QAT_R_SM2_INVALID_DIGEST:370:sm2 invalid digest
QAT_R_SM2_SIGN_NULL:371:sm2 sign null
QAT_R_SM2_SIG_GEN_MALLOC_FAILURE:372:sm2 sig gen malloc failure
QAT_R_SM2_SIG_MALLOC_FAILURE:373:sm2 sig malloc failure
QAT_R_SM2_SIG_SET_R_S_FAILURE:374:sm2 sig set r s failure
QAT_R_SM2_VERIFY_NULL:375:sm2 verify null
QAT_R_SM3_CTX_NULL:376:sm3 ctx null
QAT_R_SM3_FINAL_FAILURE:377:sm3 final failure
QAT_R_SM3_INIT_FAILURE:378:sm3 init failure
QAT_R_SM3_UPDATE_FAILURE:379:sm3 update failure
QAT_R_SM4_CCM_DECRYPT_FAILURE:380:sm4 ccm decrypt failure
QAT_R_SM4_GCM_DECRYPT_FAILURE:381:sm4 gcm decrypt failure
QAT_R_SM4_GCM_ENCRYPT_FAILURE:382:sm4 gcm encrypt failure
QAT_R_SM4_GET_INSTANCE_FAILED:383:sm4 get instance failed
QAT_R_SM4_GET_SESSIONCTX_SIZE_FAILED:384:sm4 get sessionctx size failed
QAT_R_SM4_MALLOC_FAILED:385:sm4 malloc failed
QAT_R_SM4_NO_QAT_INSTANCE_AVAILABLE:386:sm4 no qat instance available
QAT_R_SM4_NULL_CKEY:387:sm4 null ckey
QAT_R_SM4_NULL_CTX:388:sm4 null ctx
QAT_R_SM4_NULL_CTX_OR_KEY:389:sm4 null ctx or key
QAT_R_SM4_NULL_POINTER:390:sm4 null pointer
QAT_R_SM4_NULL_QCTX:391:sm4 null qctx
QAT_R_SM4_QAT_CONTEXT_NOT_INITIALISED:392:sm4 qat context not initialised
QAT_R_SM4_QAT_INITSESSION_FAILED:393:sm4 qat initsession failed
QAT_R_SM4_QAT_SUBMIT_REQUEST_FAILED:394:sm4 qat submit request failed
QAT_R_SM4_REMOVE_SESSION_FAILED:395:sm4 remove session failed
QAT_R_SM4_SETUP_META_DATA_FAILED:396:sm4 setup meta data failed
QAT_R_SM4_SET_METHODS_FAILED:397:sm4 set methods failed
QAT_R_SSD_MALLOC_FAILURE:398:ssd malloc failure
QAT_R_SSD_NULL:399:ssd null
QAT_R_START_INSTANCE_FAILURE:400:start instance failure
QAT_R_STOP_INSTANCE_FAILURE:401:stop instance failure
QAT_R_SW_GET_COMPUTE_KEY_PFUNC_NULL:402:sw get compute key pfunc null
QAT_R_SW_GET_KEYGEN_PFUNC_NULL:403:sw get keygen pfunc null
QAT_R_SW_GET_SIGN_PFUNC_NULL:404:sw get sign pfunc null
QAT_R_SW_GET_SIGN_SETUP_PFUNC_NULL:405:sw get sign setup pfunc null
QAT_R_SW_GET_SIGN_SIG_PFUNC_NULL:406:sw get sign sig pfunc null
QAT_R_SW_GET_VERIFY_PFUNC_NULL:407:sw get verify pfunc null
QAT_R_SW_GET_VERIFY_SIG_PFUNC_NULL:408:sw get verify sig pfunc null
QAT_R_SW_METHOD_NULL:409:sw method null
QAT_R_S_NULL:410:s null
QAT_R_S_Q_COMPARE_FAILURE:411:s q compare failure
QAT_R_TAG_NOTSET:412:tag notset
QAT_R_TAG_NOT_NEEDED:413:tag not needed
QAT_R_UNKNOWN_PADDING:414:unknown padding
QAT_R_UNKNOWN_PADDING_TYPE:415:unknown padding type
QAT_R_WAKE_PAUSE_JOB_FAILURE:416:wake pause job failure
QAT_R_X_Y_E_MALLOC_FAILURE:417:x y e malloc failure
QAT_R_X_Y_TX_TY_BN_MALLOC_FAILURE:418:x y tx ty bn malloc failure
QAT_R_X_Y_Z_MALLOC_FAILURE:419:x y z malloc failure
QAT_R_ZALLOC_FAILURE:420:zalloc failure
QAT_R_Z_ALLOCATE_FAILURE:421:z allocate failure
