/freebsd/sys/dev/qat/qat_api/common/crypto/sym/ |
H A D | lac_sym_api.c | 136 LacSymSession_ParamCheck(const CpaInstanceHandle instanceHandle, in LacSymSession_ParamCheck() argument 148 cpaCySymQueryCapabilities(instanceHandle, &capInfo); in LacSymSession_ParamCheck() 149 SalCtrl_CyQueryCapabilities(instanceHandle, &cyCapInfo); in LacSymSession_ParamCheck() 478 CpaInstanceHandle instanceHandle = NULL; in cpaCySymInitSession() local 482 instanceHandle = in cpaCySymInitSession() 485 instanceHandle = instanceHandle_in; in cpaCySymInitSession() 488 LAC_CHECK_INSTANCE_HANDLE(instanceHandle); in cpaCySymInitSession() 489 SAL_CHECK_INSTANCE_TYPE(instanceHandle, in cpaCySymInitSession() 493 pService = (sal_service_t *)instanceHandle; in cpaCySymInitSession() 498 status = LacSym_InitSession(instanceHandle, in cpaCySymInitSession() [all …]
|
H A D | lac_sym_stats.c | 39 LacSym_StatsInit(CpaInstanceHandle instanceHandle) in LacSym_StatsInit() argument 42 sal_crypto_service_t *pService = (sal_crypto_service_t *)instanceHandle; in LacSym_StatsInit() 58 LacSym_StatsFree(CpaInstanceHandle instanceHandle) in LacSym_StatsFree() argument 60 sal_crypto_service_t *pService = (sal_crypto_service_t *)instanceHandle; in LacSym_StatsFree() 67 LacSym_StatsInc(Cpa32U offset, CpaInstanceHandle instanceHandle) in LacSym_StatsInc() argument 69 sal_crypto_service_t *pService = (sal_crypto_service_t *)instanceHandle; in LacSym_StatsInc() 78 LacSym_Stats32CopyGet(CpaInstanceHandle instanceHandle, in LacSym_Stats32CopyGet() argument 82 sal_crypto_service_t *pService = (sal_crypto_service_t *)instanceHandle; in LacSym_Stats32CopyGet() 91 LacSym_Stats64CopyGet(CpaInstanceHandle instanceHandle, in LacSym_Stats64CopyGet() argument 95 sal_crypto_service_t *pService = (sal_crypto_service_t *)instanceHandle; in LacSym_Stats64CopyGet() [all …]
|
H A D | lac_sym_dp.c | 75 LAC_CHECK_NULL_PARAM(pRequest->instanceHandle); in LacDp_EnqueueParamCheck() 79 SAL_CHECK_INSTANCE_TYPE(pRequest->instanceHandle, in LacDp_EnqueueParamCheck() 260 ((sal_crypto_service_t *)pRequest->instanceHandle) in LacDp_EnqueueParamCheck() 587 (sal_crypto_service_t *)pRequest->instanceHandle; in LacDp_WriteRingMsgFull() 589 ((sal_crypto_service_t *)pRequest->instanceHandle) in LacDp_WriteRingMsgFull() 918 cpaCySymDpSessionCtxGetSize(const CpaInstanceHandle instanceHandle, in cpaCySymDpSessionCtxGetSize() argument 925 LAC_CHECK_INSTANCE_HANDLE(instanceHandle); in cpaCySymDpSessionCtxGetSize() 929 status = cpaCySymSessionCtxGetSize(instanceHandle, in cpaCySymDpSessionCtxGetSize() 938 const CpaInstanceHandle instanceHandle, in cpaCySymDpSessionCtxGetDynamicSize() argument 945 LAC_CHECK_INSTANCE_HANDLE(instanceHandle); in cpaCySymDpSessionCtxGetDynamicSize() [all …]
|
H A D | lac_sym_hash.c | 134 LacHash_PrecomputeDataCreate(const CpaInstanceHandle instanceHandle, in LacHash_PrecomputeDataCreate() argument 158 instanceHandle, in LacHash_PrecomputeDataCreate() 207 status = LacSymHash_AesECBPreCompute(instanceHandle, in LacHash_PrecomputeDataCreate() 219 status = LacSymHash_AesECBPreCompute(instanceHandle, in LacHash_PrecomputeDataCreate() 281 instanceHandle, in LacHash_PrecomputeDataCreate() 355 status = LacSymHash_HmacPreComputes(instanceHandle, in LacHash_PrecomputeDataCreate() 372 LacHash_HashContextCheck(CpaInstanceHandle instanceHandle, in LacHash_HashContextCheck() argument 385 cpaCySymQueryCapabilities(instanceHandle, &capInfo); in LacHash_HashContextCheck() 412 LacSymQat_HashAlgLookupGet(instanceHandle, in LacHash_HashContextCheck() 623 instanceHandle, in LacHash_HashContextCheck() [all …]
|
H A D | lac_sym_cb.c | 128 CpaInstanceHandle instanceHandle = CPA_INSTANCE_HANDLE_SINGLE; in LacSymCb_ProcessCallbackInternal() local 130 instanceHandle = pCookie->instanceHandle; in LacSymCb_ProcessCallbackInternal() 150 instanceHandle); in LacSymCb_ProcessCallbackInternal() 240 instanceHandle); in LacSymCb_ProcessCallbackInternal() 251 LAC_SYM_STAT_INC(numSymOpCompleted, instanceHandle); in LacSymCb_ProcessCallbackInternal() 254 instanceHandle); in LacSymCb_ProcessCallbackInternal() 314 ((sal_crypto_service_t *)pResponse->instanceHandle)->pSymDpCb; in LacSymCb_ProcessDpCallback()
|
/freebsd/sys/dev/qat/qat_api/common/stubs/ |
H A D | lac_stubs.c | 47 cpaCyDhKeyGenPhase1(const CpaInstanceHandle instanceHandle, in cpaCyDhKeyGenPhase1() argument 58 const CpaInstanceHandle instanceHandle, in cpaCyDhKeyGenPhase2Secret() argument 68 cpaCyDhQueryStats64(const CpaInstanceHandle instanceHandle, in cpaCyDhQueryStats64() argument 75 cpaCyDhQueryStats(const CpaInstanceHandle instanceHandle, in cpaCyDhQueryStats() argument 83 cpaCyDsaGenPParam(const CpaInstanceHandle instanceHandle, in cpaCyDsaGenPParam() argument 94 cpaCyDsaGenGParam(const CpaInstanceHandle instanceHandle, in cpaCyDsaGenGParam() argument 105 cpaCyDsaGenYParam(const CpaInstanceHandle instanceHandle, in cpaCyDsaGenYParam() argument 116 cpaCyDsaSignR(const CpaInstanceHandle instanceHandle, in cpaCyDsaSignR() argument 127 cpaCyDsaSignS(const CpaInstanceHandle instanceHandle, in cpaCyDsaSignS() argument 138 cpaCyDsaSignRS(const CpaInstanceHandle instanceHandle, in cpaCyDsaSignRS() argument [all …]
|
/freebsd/sys/dev/qat/qat_api/common/include/ |
H A D | lac_hooks.h | 47 CpaStatus LacLn_Init(CpaInstanceHandle instanceHandle); 60 void LacLn_StatsFree(CpaInstanceHandle instanceHandle); 73 CpaStatus LacPrime_Init(CpaInstanceHandle instanceHandle); 86 void LacPrime_StatsFree(CpaInstanceHandle instanceHandle); 99 CpaStatus LacDsa_Init(CpaInstanceHandle instanceHandle); 112 void LacDsa_StatsFree(CpaInstanceHandle instanceHandle); 125 CpaStatus LacDh_Init(CpaInstanceHandle instanceHandle); 138 void LacDh_StatsFree(CpaInstanceHandle instanceHandle); 154 CpaStatus LacSymKey_Init(CpaInstanceHandle instanceHandle); 167 CpaStatus LacSymKey_Shutdown(CpaInstanceHandle instanceHandle); [all …]
|
H A D | sal_service_state.h | 33 CpaBoolean Sal_ServiceIsRunning(CpaInstanceHandle instanceHandle); 50 CpaBoolean Sal_ServiceIsRestarting(CpaInstanceHandle instanceHandle); 61 #define SAL_RUNNING_CHECK(instanceHandle) \ argument 64 Sal_ServiceIsRunning(instanceHandle))) { \ 66 Sal_ServiceIsRestarting(instanceHandle)) { \ 82 #define SAL_SERVICE_GOOD_FOR_INIT(instanceHandle) \ argument 84 sal_service_t *pService = (sal_service_t *)instanceHandle; \
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/key/ |
H A D | lac_sym_key.c | 54 #define LAC_KEY_STAT_INC(statistic, instanceHandle) \ argument 57 pService = (sal_crypto_service_t *)instanceHandle; \ 70 #define LAC_KEY_STATS32_GET(keyStats, instanceHandle) \ argument 74 (sal_crypto_service_t *)instanceHandle; \ 83 #define LAC_KEY_STATS64_GET(keyStats, instanceHandle) \ argument 87 (sal_crypto_service_t *)instanceHandle; \ 163 LacSymKey_MgfSync(const CpaInstanceHandle instanceHandle, 176 LacSymKey_SslTlsSync(CpaInstanceHandle instanceHandle, 196 CpaInstanceHandle instanceHandle = NULL; in LacKey_GetHandle() local 198 instanceHandle = in LacKey_GetHandle() [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
H A D | lac_sym_stats.h | 89 #define LAC_SYM_STAT_INC(statistic, instanceHandle) \ argument 90 LacSym_StatsInc(offsetof(CpaCySymStats64, statistic), instanceHandle) 106 CpaStatus LacSym_StatsInit(CpaInstanceHandle instanceHandle); 121 void LacSym_StatsFree(CpaInstanceHandle instanceHandle); 137 void LacSym_StatsInc(Cpa32U offset, CpaInstanceHandle instanceHandle); 154 void LacSym_Stats32CopyGet(CpaInstanceHandle instanceHandle, 172 void LacSym_Stats64CopyGet(CpaInstanceHandle instanceHandle, 188 void LacSym_StatsShow(CpaInstanceHandle instanceHandle);
|
H A D | lac_sym_hash.h | 344 CpaStatus LacHash_HashContextCheck(CpaInstanceHandle instanceHandle, 377 CpaStatus LacHash_PrecomputeDataCreate(const CpaInstanceHandle instanceHandle, 430 CpaStatus LacHash_PerformParamCheck(CpaInstanceHandle instanceHandle, 471 CpaStatus LacSymHash_HmacPreComputes(CpaInstanceHandle instanceHandle, 512 CpaStatus LacSymHash_AesECBPreCompute(CpaInstanceHandle instanceHandle, 536 CpaStatus LacSymHash_HmacPrecompInit(CpaInstanceHandle instanceHandle); 550 void LacSymHash_HmacPrecompShutdown(CpaInstanceHandle instanceHandle);
|
/freebsd/sys/dev/qat/qat_api/common/ctrl/ |
H A D | sal_crypto.c | 883 cpaCyGetStatusText(const CpaInstanceHandle instanceHandle, in cpaCyGetStatusText() argument 963 CpaInstanceHandle instanceHandle = NULL; in cpaCyStartInstance() local 974 instanceHandle = Lac_GetFirstHandle(SAL_SERVICE_TYPE_CRYPTO); in cpaCyStartInstance() 975 if (!instanceHandle) { in cpaCyStartInstance() 976 instanceHandle = in cpaCyStartInstance() 980 instanceHandle = instanceHandle_in; in cpaCyStartInstance() 982 LAC_CHECK_NULL_PARAM(instanceHandle); in cpaCyStartInstance() 983 SAL_CHECK_INSTANCE_TYPE(instanceHandle, in cpaCyStartInstance() 988 pService = (sal_crypto_service_t *)instanceHandle; in cpaCyStartInstance() 990 status = cpaCyInstanceGetInfo2(instanceHandle, &info); in cpaCyStartInstance() [all …]
|
/freebsd/sys/dev/qat/qat_api/include/lac/ |
H A D | cpa_cy_sym_dp.h | 289 CpaInstanceHandle instanceHandle; member 467 CpaStatus cpaCySymDpRegCbFunc(const CpaInstanceHandle instanceHandle, 540 cpaCySymDpSessionCtxGetSize(const CpaInstanceHandle instanceHandle, 607 cpaCySymDpSessionCtxGetDynamicSize(const CpaInstanceHandle instanceHandle, 678 cpaCySymDpInitSession(CpaInstanceHandle instanceHandle, 736 cpaCySymDpRemoveSession(const CpaInstanceHandle instanceHandle, 979 cpaCySymDpPerformOpNow(CpaInstanceHandle instanceHandle);
|
H A D | cpa_cy_common.h | 302 cpaCyBufferListGetMetaSize(const CpaInstanceHandle instanceHandle, 359 cpaCyGetStatusText(const CpaInstanceHandle instanceHandle, 524 cpaCyInstanceGetInfo(const CpaInstanceHandle instanceHandle, 575 cpaCyInstanceGetInfo2(const CpaInstanceHandle instanceHandle, 625 const CpaInstanceHandle instanceHandle, 674 const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_key.h | 668 cpaCyKeyGenSsl(const CpaInstanceHandle instanceHandle, 747 cpaCyKeyGenTls(const CpaInstanceHandle instanceHandle, 829 cpaCyKeyGenTls2(const CpaInstanceHandle instanceHandle, 916 cpaCyKeyGenTls3(const CpaInstanceHandle instanceHandle, 997 cpaCyKeyGenMgf(const CpaInstanceHandle instanceHandle, 1075 cpaCyKeyGenMgfExt(const CpaInstanceHandle instanceHandle, 1140 cpaCyKeyGenQueryStats(const CpaInstanceHandle instanceHandle, 1197 cpaCyKeyGenQueryStats64(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_dsa.h | 801 cpaCyDsaGenPParam(const CpaInstanceHandle instanceHandle, 890 cpaCyDsaGenGParam(const CpaInstanceHandle instanceHandle, 965 cpaCyDsaGenYParam(const CpaInstanceHandle instanceHandle, 1054 cpaCyDsaSignR(const CpaInstanceHandle instanceHandle, 1145 cpaCyDsaSignS(const CpaInstanceHandle instanceHandle, 1235 cpaCyDsaSignRS(const CpaInstanceHandle instanceHandle, 1315 cpaCyDsaVerify(const CpaInstanceHandle instanceHandle, 1378 cpaCyDsaQueryStats(const CpaInstanceHandle instanceHandle, 1434 cpaCyDsaQueryStats64(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_kpt.h | 506 cpaCyKptQueryIssuingKeys(const CpaInstanceHandle instanceHandle, 553 cpaCyKptQueryDeviceCredentials(const CpaInstanceHandle instanceHandle, 613 cpaCyKptLoadKey(CpaInstanceHandle instanceHandle, 668 cpaCyKptDeleteKey(CpaInstanceHandle instanceHandle, 764 cpaCyKptRsaDecrypt(const CpaInstanceHandle instanceHandle, 841 cpaCyKptEcdsaSignRS(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_ecsm2.h | 838 cpaCyEcsm2PointMultiply(const CpaInstanceHandle instanceHandle, 913 cpaCyEcsm2GeneratorMultiply(const CpaInstanceHandle instanceHandle, 984 cpaCyEcsm2PointVerify(const CpaInstanceHandle instanceHandle, 1055 cpaCyEcsm2Sign(const CpaInstanceHandle instanceHandle, 1126 cpaCyEcsm2Verify(const CpaInstanceHandle instanceHandle, 1194 cpaCyEcsm2Encrypt(const CpaInstanceHandle instanceHandle, 1262 cpaCyEcsm2Decrypt(const CpaInstanceHandle instanceHandle, 1330 cpaCyEcsm2KeyExPhase1(const CpaInstanceHandle instanceHandle, 1397 cpaCyEcsm2KeyExPhase2(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_sym.h | 1176 cpaCySymSessionCtxGetSize(const CpaInstanceHandle instanceHandle, 1244 cpaCySymSessionCtxGetDynamicSize(const CpaInstanceHandle instanceHandle, 1319 cpaCySymInitSession(const CpaInstanceHandle instanceHandle, 1377 cpaCySymRemoveSession(const CpaInstanceHandle instanceHandle, 1625 cpaCySymPerformOp(const CpaInstanceHandle instanceHandle, 1689 cpaCySymQueryStats(const CpaInstanceHandle instanceHandle, 1746 cpaCySymQueryStats64(const CpaInstanceHandle instanceHandle, 1840 cpaCySymQueryCapabilities(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_ec.h | 752 cpaCyEcPointMultiply(const CpaInstanceHandle instanceHandle, 841 cpaCyEcPointVerify(const CpaInstanceHandle instanceHandle, 913 const CpaInstanceHandle instanceHandle, 983 const CpaInstanceHandle instanceHandle, 1056 cpaCyEcMontEdwdsPointMultiply(const CpaInstanceHandle instanceHandle, 1117 cpaCyEcQueryStats64(const CpaInstanceHandle instanceHandle,
|
H A D | cpa_cy_im.h | 112 cpaCyStartInstance(CpaInstanceHandle instanceHandle); 168 cpaCyStopInstance(CpaInstanceHandle instanceHandle); 288 cpaCyQueryCapabilities(const CpaInstanceHandle instanceHandle, 335 cpaCySetAddressTranslation(const CpaInstanceHandle instanceHandle,
|
/freebsd/sys/dev/qat/qat_api/include/ |
H A D | icp_sal_poll.h | 53 CpaStatus icp_sal_CyPollInstance(CpaInstanceHandle instanceHandle, 86 CpaStatus icp_sal_CyPollSymRing(CpaInstanceHandle instanceHandle, 119 CpaStatus icp_sal_CyPollAsymRing(CpaInstanceHandle instanceHandle, 152 CpaStatus icp_sal_CyPollNRBGRing(CpaInstanceHandle instanceHandle, 202 CpaStatus icp_sal_CyPollDpInstance(const CpaInstanceHandle instanceHandle, 235 CpaStatus icp_sal_DcPollInstance(CpaInstanceHandle instanceHandle,
|
H A D | icp_sal_user.h | 706 CpaStatus icp_sal_NrbgGetInflightRequests(CpaInstanceHandle instanceHandle, 748 CpaStatus icp_sal_SymGetInflightRequests(CpaInstanceHandle instanceHandle, 789 CpaStatus icp_sal_AsymGetInflightRequests(CpaInstanceHandle instanceHandle, 830 CpaStatus icp_sal_dp_SymGetInflightRequests(CpaInstanceHandle instanceHandle, 869 CpaStatus icp_sal_AsymPerformOpNow(CpaInstanceHandle instanceHandle); 905 CpaStatus icp_sal_setForceAEADMACVerify(CpaInstanceHandle instanceHandle,
|
/freebsd/sys/dev/qat/qat_api/common/utils/ |
H A D | sal_service_state.c | 26 Sal_ServiceIsRunning(CpaInstanceHandle instanceHandle) in Sal_ServiceIsRunning() argument 28 sal_service_t *pService = (sal_service_t *)instanceHandle; in Sal_ServiceIsRunning() 37 Sal_ServiceIsRestarting(CpaInstanceHandle instanceHandle) in Sal_ServiceIsRestarting() argument 39 sal_service_t *pService = (sal_service_t *)instanceHandle; in Sal_ServiceIsRestarting()
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/ |
H A D | lac_sym_qat_constants_table.c | 160 LacSymQat_ConstantsInitLookupTables(CpaInstanceHandle instanceHandle) in LacSymQat_ConstantsInitLookupTables() argument 162 sal_service_t *pService = (sal_service_t *)instanceHandle; in LacSymQat_ConstantsInitLookupTables() 208 LacSymQat_ConstantsGetCipherOffset(CpaInstanceHandle instanceHandle, in LacSymQat_ConstantsGetCipherOffset() argument 215 sal_service_t *pService = (sal_service_t *)instanceHandle; in LacSymQat_ConstantsGetCipherOffset() 238 LacSymQat_ConstantsGetAuthOffset(CpaInstanceHandle instanceHandle, in LacSymQat_ConstantsGetAuthOffset() argument 244 sal_service_t *pService = (sal_service_t *)instanceHandle; in LacSymQat_ConstantsGetAuthOffset()
|