Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_hash.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | |||||
* | * | ||||
* @param[in] useSymConstantsTable Indicate if Shared-SRAM constants table | * @param[in] useSymConstantsTable Indicate if Shared-SRAM constants table | ||||
* is used for this session. If TRUE, the | * is used for this session. If TRUE, the | ||||
* h/w setup block is NOT populated | * h/w setup block is NOT populated | ||||
* | * | ||||
* @param[in] useOptimisedContentDesc Indicate if optimised content desc | * @param[in] useOptimisedContentDesc Indicate if optimised content desc | ||||
* is used for this session. | * is used for this session. | ||||
* | * | ||||
* @param[in] useStatefulSha3ContentDesc | |||||
* Indicate if stateful SHA3 content desc | |||||
* is used for this session. | |||||
* | |||||
* @param[in] pPrecompute For auth mode, this is the pointer | * @param[in] pPrecompute For auth mode, this is the pointer | ||||
* to the precompute data. Otherwise this | * to the precompute data. Otherwise this | ||||
* should be set to NULL | * should be set to NULL | ||||
* | * | ||||
* @param[out] pHashBlkSizeInBytes size in bytes of hash setup block | * @param[out] pHashBlkSizeInBytes size in bytes of hash setup block | ||||
* | * | ||||
* @return void | * @return void | ||||
* | * | ||||
*****************************************************************************/ | *****************************************************************************/ | ||||
void | void | ||||
LacSymQat_HashContentDescInit(icp_qat_la_bulk_req_ftr_t *pMsg, | LacSymQat_HashContentDescInit(icp_qat_la_bulk_req_ftr_t *pMsg, | ||||
CpaInstanceHandle instanceHandle, | CpaInstanceHandle instanceHandle, | ||||
const CpaCySymHashSetupData *pHashSetupData, | const CpaCySymHashSetupData *pHashSetupData, | ||||
void *pHwBlockBase, | void *pHwBlockBase, | ||||
Cpa32U hashBlkOffsetInHwBlock, | Cpa32U hashBlkOffsetInHwBlock, | ||||
icp_qat_fw_slice_t nextSlice, | icp_qat_fw_slice_t nextSlice, | ||||
icp_qat_hw_auth_mode_t qatHashMode, | icp_qat_hw_auth_mode_t qatHashMode, | ||||
CpaBoolean useSymConstantsTable, | CpaBoolean useSymConstantsTable, | ||||
CpaBoolean useOptimisedContentDesc, | CpaBoolean useOptimisedContentDesc, | ||||
CpaBoolean useStatefulSha3ContentDesc, | |||||
lac_sym_qat_hash_precompute_info_t *pPrecompute, | lac_sym_qat_hash_precompute_info_t *pPrecompute, | ||||
Cpa32U *pHashBlkSizeInBytes); | Cpa32U *pHashBlkSizeInBytes); | ||||
/** | /** | ||||
****************************************************************************** | ****************************************************************************** | ||||
* @ingroup LacSymQatHash | * @ingroup LacSymQatHash | ||||
* Calculate the size of the hash state prefix aad buffer | * Calculate the size of the hash state prefix aad buffer | ||||
* | * | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |