Home
last modified time | relevance | path

Searched refs:cipherAlgorithm (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/
H A Dlac_sym_api.c158 if (pCipherSetupData->cipherAlgorithm >= in LacSymSession_ParamCheck()
164 pCipherSetupData->cipherAlgorithm)) { in LacSymSession_ParamCheck()
223 pCipherSetupData->cipherAlgorithm && in LacSymSession_ParamCheck()
233 pCipherSetupData->cipherAlgorithm)) { in LacSymSession_ParamCheck()
254 pCipherSetupData->cipherAlgorithm, in LacSymSession_ParamCheck()
294 pCipherSetupData->cipherAlgorithm) || in LacSymSession_ParamCheck()
296 pCipherSetupData->cipherAlgorithm) || in LacSymSession_ParamCheck()
298 pCipherSetupData->cipherAlgorithm)) { in LacSymSession_ParamCheck()
379 pSessionDesc->cipherAlgorithm, in LacSymPerform_BufferParamCheck()
411 pSessionDesc->cipherAlgorithm, in LacSymPerform_BufferParamCheck()
[all …]
H A Dlac_sym_cipher.c68 CpaCySymCipherAlgorithm algorithm = pSessionDesc->cipherAlgorithm; in LacCipher_PerformIvCheck()
224 if (!LAC_CIPHER_IS_NULL(pCipherSetupData->cipherAlgorithm)) { in LacCipher_SessionSetupDataCheck()
228 switch (pCipherSetupData->cipherAlgorithm) { in LacCipher_SessionSetupDataCheck()
436 CpaCySymCipherAlgorithm cipherAlgorithm, in LacCipher_GetCipherSliceType() argument
445 if (LAC_CIPHER_IS_XTS_MODE(cipherAlgorithm) || in LacCipher_GetCipherSliceType()
446 LAC_CIPHER_IS_CHACHA(cipherAlgorithm) || in LacCipher_GetCipherSliceType()
447 LAC_CIPHER_IS_GCM(cipherAlgorithm)) { in LacCipher_GetCipherSliceType()
449 } else if (LAC_CIPHER_IS_CCM(cipherAlgorithm) && in LacCipher_GetCipherSliceType()
452 } else if (LAC_CIPHER_IS_AES(cipherAlgorithm) && in LacCipher_GetCipherSliceType()
453 LAC_CIPHER_IS_CTR_MODE(cipherAlgorithm)) { in LacCipher_GetCipherSliceType()
H A Dlac_sym_alg_chain.c139 switch (pSessionDesc->cipherAlgorithm) { in LacSymCheck_IsPartialSupported()
224 pSessionDesc->cipherAlgorithm, in LacAlgChain_CipherCDBuild_ForOptimisedCD()
325 pSessionDesc->cipherAlgorithm, in LacAlgChain_CipherCDBuild()
502 cipherSetupData.cipherAlgorithm = pSessionDesc->cipherAlgorithm; in LacAlgChain_SessionCipherKeyUpdate()
594 pSessionDesc->cipherAlgorithm; in LacAlgChain_SessionAuthKeyUpdate()
708 pSessionDesc->cipherAlgorithm) { in buildCmdData()
711 pSessionDesc->cipherAlgorithm) { in buildCmdData()
1041 pSessionDesc->cipherAlgorithm = in LacAlgChain_SessionInit()
1042 pCipherData->cipherAlgorithm; in LacAlgChain_SessionInit()
1156 pSessionDesc->cipherAlgorithm, in LacAlgChain_SessionInit()
[all …]
H A Dlac_sym_cb.c158 if (pSessionDesc->cipherAlgorithm == in LacSymCb_ProcessCallbackInternal()
164 } else if (pSessionDesc->cipherAlgorithm == in LacSymCb_ProcessCallbackInternal()
206 pSessionDesc->cipherAlgorithm)) { in LacSymCb_ProcessCallbackInternal()
217 pSessionDesc->cipherAlgorithm)) { in LacSymCb_ProcessCallbackInternal()
439 if (LAC_CIPHER_IS_ARC4(pSessionDesc->cipherAlgorithm)) { in LacSymCb_PendingReqsDequeue()
H A Dlac_sym_dp.c103 if ((CPA_CY_SYM_CIPHER_CHACHA == pSessionDesc->cipherAlgorithm) && in LacDp_EnqueueParamCheck()
147 switch (pSessionDesc->cipherAlgorithm) { in LacDp_EnqueueParamCheck()
159 pSessionDesc->cipherAlgorithm); in LacDp_EnqueueParamCheck()
163 pSessionDesc->cipherAlgorithm) && in LacDp_EnqueueParamCheck()
225 switch (pSessionDesc->cipherAlgorithm) { in LacDp_EnqueueParamCheck()
247 pSessionDesc->cipherAlgorithm) - in LacDp_EnqueueParamCheck()
257 cipher = pSessionDesc->cipherAlgorithm; in LacDp_EnqueueParamCheck()
584 CpaCySymCipherAlgorithm cipher = pSessionDesc->cipherAlgorithm; in LacDp_WriteRingMsgFull()
777 if (CPA_CY_SYM_CIPHER_ARC4 == pSessionDesc->cipherAlgorithm) { in LacDp_WriteRingMsgFull()
843 pSessionDesc->cipherAlgorithm); in LacDp_WriteRingMsgFull()
H A Dlac_sym_queue.c130 if (LAC_CIPHER_IS_ARC4(pSessionDesc->cipherAlgorithm)) { in LacSymQueue_RequestSend()
/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat_cipher.c464 Cpa32U cipherAlgorithm, in LacSymQat_CipherCtrlBlockWrite() argument
489 switch (cipherAlgorithm) { in LacSymQat_CipherCtrlBlockWrite()
545 CpaCySymCipherAlgorithm cipherAlgorithm = 0; in LacSymQat_CipherGetCfgData() local
555 cipherAlgorithm = pSession->cipherAlgorithm - 1; in LacSymQat_CipherGetCfgData()
562 *pMode = icp_qat_alg_info[cipherAlgorithm].mode; in LacSymQat_CipherGetCfgData()
568 *pAlgorithm = icp_qat_alg_info[cipherAlgorithm] in LacSymQat_CipherGetCfgData()
579 if (LAC_CIPHER_IS_GCM(pSession->cipherAlgorithm)) in LacSymQat_CipherGetCfgData()
582 LAC_CIPHER_IS_CCM(pSession->cipherAlgorithm)) in LacSymQat_CipherGetCfgData()
682 switch (pCipherSetupData->cipherAlgorithm) { in LacSymQat_CipherHwBlockPopulateKeySetup()
791 switch (cipherAlgorithm) { in LacSymQat_CipherBlockSizeBytesGet()
[all …]
H A Dlac_sym_qat.c132 CpaCySymCipherAlgorithm cipherAlgorithm, in LacSymQat_LaPacketCommandFlagSet() argument
138 if (LAC_CIPHER_IS_SM4(cipherAlgorithm) || in LacSymQat_LaPacketCommandFlagSet()
139 LAC_CIPHER_IS_CHACHA(cipherAlgorithm)) { in LacSymQat_LaPacketCommandFlagSet()
153 LAC_CIPHER_IS_ECB_MODE(cipherAlgorithm))) { in LacSymQat_LaPacketCommandFlagSet()
174 if ((LAC_CIPHER_IS_GCM(cipherAlgorithm)) && in LacSymQat_LaPacketCommandFlagSet()
/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_qat_cipher.h64 LacSymQat_CipherBlockSizeBytesGet(CpaCySymCipherAlgorithm cipherAlgorithm);
80 Cpa32U LacSymQat_CipherIvSizeBytesGet(CpaCySymCipherAlgorithm cipherAlgorithm);
212 Cpa32U cipherAlgorithm,
H A Dlac_session.h166 CpaCySymCipherAlgorithm cipherAlgorithm; member
352 CpaCySymCipherAlgorithm cipherAlgorithm; member
504 CpaCySymCipherAlgorithm cipherAlgorithm; member
H A Dlac_sym_cipher.h278 CpaStatus LacCipher_PerformParamCheck(CpaCySymCipherAlgorithm cipherAlgorithm,
H A Dlac_sym_qat.h186 CpaCySymCipherAlgorithm cipherAlgorithm,
/freebsd-14.2/sys/dev/qat/qat/
H A Dqat_ocf.c298 sessionSetupData.cipherSetupData.cipherAlgorithm = in qat_ocf_session_init()
302 sessionSetupData.cipherSetupData.cipherAlgorithm = in qat_ocf_session_init()
306 sessionSetupData.cipherSetupData.cipherAlgorithm = in qat_ocf_session_init()
310 sessionSetupData.cipherSetupData.cipherAlgorithm = in qat_ocf_session_init()
470 sessionSetupData.cipherSetupData.cipherAlgorithm = in qat_ocf_session_init()
/freebsd-14.2/sys/dev/qat/qat_api/include/lac/
H A Dcpa_cy_sym.h260 CpaCySymCipherAlgorithm cipherAlgorithm; member
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dqat_crypt.c172 sd.cipherSetupData.cipherAlgorithm = ciper_algorithm; in qat_init_crypt_session_ctx()