| /freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/ |
| H A D | lac_sym_alg_chain.c | 216 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 D | lac_sym_dp.c | 84 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 D | lac_sym_cb.c | 119 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 D | lac_sym_queue.c | 48 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 D | lac_sym_api.c | 379 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 D | lac_sym_auth_enc.c | 99 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 D | lac_sym_cipher.c | 66 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 D | lac_sym_hash.c | 666 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 D | dc_session.c | 165 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 D | dc_datapath.c | 826 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 D | dc_header_footer.c | 37 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 D | dc_dp.c | 64 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 D | lac_sym_alg_chain.h | 163 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 D | lac_sym_qat_cipher.h | 116 LacSymQat_CipherRequestParamsPopulate(lac_session_desc_t *pSessionDesc, 166 void LacSymQat_CipherXTSModeUpdateKeyLen(lac_session_desc_t *pSessionDesc, 294 lac_session_desc_t *pSessionDesc,
|
| H A D | lac_sym_auth_enc.h | 43 void LacSymAlgChain_PrepareGCMData(lac_session_desc_t *pSessionDesc, 80 void LacSymAlgChain_PrepareCCMData(lac_session_desc_t *pSessionDesc,
|
| H A D | lac_sym_cb.h | 38 CpaStatus LacSymCb_PendingReqsDequeue(lac_session_desc_t *pSessionDesc);
|
| H A D | lac_sym_queue.h | 48 lac_session_desc_t *pSessionDesc);
|
| H A D | lac_sym_hash.h | 431 lac_session_desc_t *pSessionDesc,
|
| /freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/qat/ |
| H A D | lac_sym_qat_cipher.c | 641 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 D | qat_ocf_utils.c | 68 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 D | dc_datapath.h | 134 dc_session_desc_t *pSessionDesc; member
|