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