Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat.h
Show First 20 Lines • Show All 200 Lines • ▼ Show 20 Lines | |||||
* | * | ||||
* @return none | * @return none | ||||
* | * | ||||
*****************************************************************************/ | *****************************************************************************/ | ||||
void LacSymQat_LaSetDefaultFlags(icp_qat_fw_serv_specif_flags *laCmdFlags, | void LacSymQat_LaSetDefaultFlags(icp_qat_fw_serv_specif_flags *laCmdFlags, | ||||
CpaCySymOp symOp); | CpaCySymOp symOp); | ||||
/** | |||||
****************************************************************************** | |||||
* @ingroup LacSymQat | |||||
* | |||||
* | |||||
* @description | |||||
* this function defines whether the shared constants table can be used | |||||
* for a particular cipher and hash algorithm | |||||
* | |||||
* @param[in] ptr to session | |||||
* @param[in] ptr to return offset into table for cipher config | |||||
* @param[in] ptr to return offset into table for hash config | |||||
* | |||||
* @return CPA_TRUE if Constants table is available for use, CPA_FALSE if it's | |||||
* not. | |||||
* | |||||
*****************************************************************************/ | |||||
CpaBoolean LacSymQat_UseSymConstantsTable(lac_session_desc_t *pSession, | |||||
Cpa8U *cipherOffset, | |||||
Cpa8U *hashOffset); | |||||
/** | |||||
****************************************************************************** | |||||
* @ingroup LacSymQat | |||||
* | |||||
* | |||||
* @description | |||||
* this function calculates whether the optimized content descriptor can | |||||
* be used for a particular chained cipher and hash algorithm | |||||
* | |||||
* @param[in] ptr to session | |||||
* | |||||
* @return CPA_TRUE if optimized CD can be used, CPA_FALSE if it's not. | |||||
* | |||||
*****************************************************************************/ | |||||
CpaBoolean LacSymQat_UseOptimisedContentDesc(lac_session_desc_t *pSession); | |||||
#endif /* LAC_SYM_QAT_H */ | #endif /* LAC_SYM_QAT_H */ |