Home
last modified time | relevance | path

Searched refs:pSessionDesc (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/
H A Dlac_sym_alg_chain.c216 pSessionDesc, in LacAlgChain_CipherCDBuild_ForOptimisedCD()
249 pSessionDesc, in LacAlgChain_CipherCDBuild_ForSHRAM()
307 pSessionDesc, in LacAlgChain_CipherCDBuild()
445 if (!pSessionDesc) in LacAlgChain_SessionAADUpdate()
519 pSessionDesc, in LacAlgChain_SessionCipherKeyUpdate()
543 pSessionDesc, in LacAlgChain_SessionCipherKeyUpdate()
676 pSessionDesc, in LacAlgChain_SessionAuthKeyUpdate()
1177 pSessionDesc, in LacAlgChain_SessionInit()
1197 pSessionDesc); in LacAlgChain_SessionInit()
1239 pSessionDesc, in LacAlgChain_SessionInit()
[all …]
H A Dlac_sym_dp.c84 if (NULL == pSessionDesc) { in LacDp_EnqueueParamCheck()
89 } while (NULL == pSessionDesc); in LacDp_EnqueueParamCheck()
91 if (NULL == pSessionDesc) { in LacDp_EnqueueParamCheck()
136 if (pSessionDesc->digestIsAppended && pSessionDesc->digestVerify && in LacDp_EnqueueParamCheck()
481 pSessionDesc, in LacDp_WriteRingMsgOpt()
489 if (pSessionDesc->isAuth) { in LacDp_WriteRingMsgOpt()
735 pSessionDesc, in LacDp_WriteRingMsgFull()
789 pSessionDesc, in LacDp_WriteRingMsgFull()
865 if (pSessionDesc->isAuth) { in LacDp_WriteRingMsgFull()
1138 pSessionDesc = in cpaCySymDpEnqueueOpBatch()
[all …]
H A Dlac_sym_cb.c119 lac_session_desc_t *pSessionDesc) in LacSymCb_ProcessCallbackInternal() argument
158 if (pSessionDesc->cipherAlgorithm == in LacSymCb_ProcessCallbackInternal()
185 pSymCb = pSessionDesc->pSymCb; in LacSymCb_ProcessCallbackInternal()
206 pSessionDesc->cipherAlgorithm)) { in LacSymCb_ProcessCallbackInternal()
208 pSessionDesc, in LacSymCb_ProcessCallbackInternal()
217 pSessionDesc->cipherAlgorithm)) { in LacSymCb_ProcessCallbackInternal()
225 pSessionDesc, in LacSymCb_ProcessCallbackInternal()
362 lac_session_desc_t *pSessionDesc = in LacSymCb_ProcessCallback() local
377 pSessionDesc); in LacSymCb_ProcessCallback()
384 pSessionDesc); in LacSymCb_ProcessCallback()
[all …]
H A Dlac_sym_queue.c48 lac_session_desc_t *pSessionDesc) in LacSymQueue_RequestSend() argument
58 (NULL != pSessionDesc->pRequestQueueTail)) { in LacSymQueue_RequestSend()
59 LAC_SPINLOCK(&pSessionDesc->requestQueueLock); in LacSymQueue_RequestSend()
68 (NULL != pSessionDesc->pRequestQueueTail)) { in LacSymQueue_RequestSend()
77 if (NULL != pSessionDesc->pRequestQueueTail) { in LacSymQueue_RequestSend()
80 pSessionDesc->pRequestQueueTail->pNext = in LacSymQueue_RequestSend()
85 pSessionDesc->pRequestQueueHead = pRequest; in LacSymQueue_RequestSend()
88 pSessionDesc->pRequestQueueTail = pRequest; in LacSymQueue_RequestSend()
131 memcpy(pSessionDesc->cipherPartialOpState, in LacSymQueue_RequestSend()
132 pSessionDesc->cipherARC4InitialState, in LacSymQueue_RequestSend()
[all …]
H A Dlac_sym_api.c379 pSessionDesc->cipherAlgorithm, in LacSymPerform_BufferParamCheck()
380 pSessionDesc->hashAlgorithm)) { in LacSymPerform_BufferParamCheck()
411 pSessionDesc->cipherAlgorithm, in LacSymPerform_BufferParamCheck()
412 pSessionDesc->hashAlgorithm)) { in LacSymPerform_BufferParamCheck()
461 pSessionDesc->partialState)) { in LacSymPerform_BufferParamCheck()
529 if (pSessionDesc->isDPSession) { in cpaCySymSessionInUse()
620 pSessionDesc->contentDescInfo.pData = (Cpa8U *)pSessionDesc; in LacSym_InitSession()
661 pSessionDesc); in LacSym_InitSession()
694 LAC_CHECK_NULL_PARAM(pSessionDesc); in cpaCySymRemoveSession()
856 pSessionDesc, in LacSym_Perform()
[all …]
H A Dlac_sym_auth_enc.c99 LacSymAlgChain_PrepareCCMData(lac_session_desc_t *pSessionDesc, in LacSymAlgChain_PrepareCCMData() argument
123 if (pSessionDesc->aadLenInBytes > 0) { in LacSymAlgChain_PrepareCCMData()
126 (Cpa16U)pSessionDesc->aadLenInBytes); in LacSymAlgChain_PrepareCCMData()
133 pSessionDesc->hashResultSize, in LacSymAlgChain_PrepareCCMData()
159 if (((pSessionDesc->aadLenInBytes + lenOfEncodedLen) % in LacSymAlgChain_PrepareCCMData()
165 ((pSessionDesc->aadLenInBytes + lenOfEncodedLen) % in LacSymAlgChain_PrepareCCMData()
170 lenOfEncodedLen + pSessionDesc->aadLenInBytes; in LacSymAlgChain_PrepareCCMData()
183 LacSymAlgChain_PrepareGCMData(lac_session_desc_t *pSessionDesc, in LacSymAlgChain_PrepareGCMData() argument
188 if ((pSessionDesc->aadLenInBytes % LAC_HASH_AES_GCM_BLOCK_SIZE) != 0) { in LacSymAlgChain_PrepareGCMData()
190 (pSessionDesc->aadLenInBytes % LAC_HASH_AES_GCM_BLOCK_SIZE); in LacSymAlgChain_PrepareGCMData()
[all …]
H A Dlac_sym_cipher.c66 lac_session_desc_t *pSessionDesc = in LacCipher_PerformIvCheck() local
68 CpaCySymCipherAlgorithm algorithm = pSessionDesc->cipherAlgorithm; in LacCipher_PerformIvCheck()
117 *ppIvBuffer = pSessionDesc->cipherPartialOpState; in LacCipher_PerformIvCheck()
178 *ppIvBuffer = pSessionDesc->cipherARC4InitialState; in LacCipher_PerformIvCheck()
183 *ppIvBuffer = pSessionDesc->cipherPartialOpState; in LacCipher_PerformIvCheck()
H A Dlac_sym_hash.c666 lac_session_desc_t *pSessionDesc, in LacHash_PerformParamCheck() argument
673 CpaBoolean digestIsAppended = pSessionDesc->digestIsAppended; in LacHash_PerformParamCheck()
674 CpaBoolean digestVerify = pSessionDesc->digestVerify; in LacHash_PerformParamCheck()
675 CpaCySymOp symOperation = pSessionDesc->symOperation; in LacHash_PerformParamCheck()
676 CpaCySymHashAlgorithm hashAlgorithm = pSessionDesc->hashAlgorithm; in LacHash_PerformParamCheck()
704 (LacSync_GenBufListVerifyCb == pSessionDesc->pSymCb)) { in LacHash_PerformParamCheck()
721 if ((pSessionDesc->aadLenInBytes > 0) && in LacHash_PerformParamCheck()
/freebsd-14.2/sys/dev/qat/qat_api/common/compression/
H A Ddc_session.c165 switch (pSessionDesc->compLevel) { in dcCompHwBlockPopulate()
200 dc_session_desc_t *pSessionDesc, in dcCompHwBlockPopulateGen4() argument
218 switch (pSessionDesc->compType) { in dcCompHwBlockPopulateGen4()
245 switch (pSessionDesc->compLevel) { in dcCompHwBlockPopulateGen4()
270 pSessionDesc->huffType) && in dcCompHwBlockPopulateGen4()
417 pSessionDesc, in dcCompContentDescPopulate()
422 pSessionDesc, in dcCompContentDescPopulate()
729 pSessionDesc->isDcDp = CPA_FALSE; in dcInitSession()
769 pSessionDesc, in dcInitSession()
789 pSessionDesc, in dcInitSession()
[all …]
H A Ddc_datapath.c826 pCookie->pSessionDesc = pSessionDesc; in dcCreateRequest()
949 pSessionDesc->previousRequestType = pSessionDesc->requestType; in dcCreateRequest()
973 pSessionDesc in dcCreateRequest()
983 pSessionDesc in dcCreateRequest()
1087 pSessionDesc->requestType = pSessionDesc->previousRequestType; in dcSendRequest()
1440 pSessionDesc, in cpaDcCompressData()
1467 pSessionDesc, in cpaDcCompressData()
1583 pSessionDesc, in cpaDcCompressData2()
1636 pSessionDesc, in cpaDcCompressData2()
1826 pSessionDesc, in cpaDcDecompressData()
[all …]
H A Ddc_header_footer.c37 dc_session_desc_t *pSessionDesc = NULL; in cpaDcGenerateHeader() local
46 if (NULL == pSessionDesc) { in cpaDcGenerateHeader()
56 if (CPA_DC_DEFLATE == pSessionDesc->compType) { in cpaDcGenerateHeader()
58 if (CPA_DC_CRC32 == pSessionDesc->checksumType) { in cpaDcGenerateHeader()
81 if (CPA_DC_L1 == pSessionDesc->compLevel) in cpaDcGenerateHeader()
83 else if (CPA_DC_L4 >= pSessionDesc->compLevel) in cpaDcGenerateHeader()
119 switch (pSessionDesc->compLevel) { in cpaDcGenerateHeader()
163 dc_session_desc_t *pSessionDesc = NULL; in cpaDcGenerateFooter() local
172 if (NULL == pSessionDesc) { in cpaDcGenerateFooter()
182 if (CPA_DC_DEFLATE == pSessionDesc->compType) { in cpaDcGenerateFooter()
[all …]
H A Ddc_dp.c64 dc_session_desc_t *pSessionDesc = NULL; in dcDataPlaneParamCheck() local
77 if (NULL == pSessionDesc) { in dcDataPlaneParamCheck()
82 if (CPA_FALSE == pSessionDesc->isDcDp) { in dcDataPlaneParamCheck()
317 dc_session_desc_t *pSessionDesc = NULL; in cpaDcDpInitSession() local
338 pSessionDesc->isDcDp = CPA_TRUE; in cpaDcDpInitSession()
401 dc_session_desc_t *pSessionDesc = NULL; in dcDpWriteRingMsg() local
419 pSessionDesc->cnvErrorInjection; in dcDpWriteRingMsg()
522 dc_session_desc_t *pSessionDesc = NULL; in dcDpEnqueueOpBase() local
581 pSessionDesc->pendingDpStatelessCbCount++; in dcDpEnqueueOpBase()
624 dc_session_desc_t *pSessionDesc = NULL; in dcDpEnqueueOpBatchBase() local
[all …]
/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_alg_chain.h163 lac_session_desc_t *pSessionDesc);
200 lac_session_desc_t *pSessionDesc,
233 CpaStatus LacAlgChain_SessionCipherKeyUpdate(lac_session_desc_t *pSessionDesc,
262 CpaStatus LacAlgChain_SessionAuthKeyUpdate(lac_session_desc_t *pSessionDesc,
291 CpaStatus LacAlgChain_SessionAADUpdate(lac_session_desc_t *pSessionDesc,
H A Dlac_sym_qat_cipher.h116 LacSymQat_CipherRequestParamsPopulate(lac_session_desc_t *pSessionDesc,
166 void LacSymQat_CipherXTSModeUpdateKeyLen(lac_session_desc_t *pSessionDesc,
294 lac_session_desc_t *pSessionDesc,
H A Dlac_sym_auth_enc.h43 void LacSymAlgChain_PrepareGCMData(lac_session_desc_t *pSessionDesc,
80 void LacSymAlgChain_PrepareCCMData(lac_session_desc_t *pSessionDesc,
H A Dlac_sym_cb.h38 CpaStatus LacSymCb_PendingReqsDequeue(lac_session_desc_t *pSessionDesc);
H A Dlac_sym_queue.h48 lac_session_desc_t *pSessionDesc);
H A Dlac_sym_hash.h431 lac_session_desc_t *pSessionDesc,
/freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat_cipher.c641 lac_session_desc_t *pSessionDesc, in LacSymQat_CipherHwBlockPopulateKeySetup() argument
749 memcpy(pSessionDesc->cipherAesXtsKey1Forward, in LacSymQat_CipherHwBlockPopulateKeySetup()
754 pSessionDesc->cipherAesXtsKey1Forward, in LacSymQat_CipherHwBlockPopulateKeySetup()
757 pSessionDesc->cipherAesXtsKey1Reverse); in LacSymQat_CipherHwBlockPopulateKeySetup()
759 memcpy(pSessionDesc->cipherAesXtsKey2, in LacSymQat_CipherHwBlockPopulateKeySetup()
766 pSessionDesc in LacSymQat_CipherHwBlockPopulateKeySetup()
771 pSessionDesc in LacSymQat_CipherHwBlockPopulateKeySetup()
926 pSessionDesc->cipherSliceType && in LacSymQat_CipherRequestParamsPopulate()
933 pSessionDesc->cipherAesXtsKey2, in LacSymQat_CipherRequestParamsPopulate()
934 pSessionDesc->cipherKeyLenInBytes / 2, in LacSymQat_CipherRequestParamsPopulate()
[all …]
/freebsd-14.2/sys/dev/qat/qat/
H A Dqat_ocf_utils.c68 lac_session_desc_t *pSessionDesc = NULL; in qat_ocf_session_update() local
79 pSessionDesc = in qat_ocf_session_update()
85 LacAlgChain_SessionAADUpdate(pSessionDesc, newAADLength); in qat_ocf_session_update()
92 LacAlgChain_SessionCipherKeyUpdate(pSessionDesc, newCipher); in qat_ocf_session_update()
99 LacAlgChain_SessionAuthKeyUpdate(pSessionDesc, newAuth); in qat_ocf_session_update()
/freebsd-14.2/sys/dev/qat/qat_api/common/compression/include/
H A Ddc_datapath.h134 dc_session_desc_t *pSessionDesc; member