X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fcpt%2Fcpt_pmd_ops_helper.h;h=716ae94c8efb8a798c2172c263abd5dd3e2dec62;hb=f0f5d844d138;hp=dd32f9a406a4937cec958e82e215ba0c3824445c;hpb=8846a756eb270277ccf777bf7a6b42b952660b0f;p=dpdk.git diff --git a/drivers/common/cpt/cpt_pmd_ops_helper.h b/drivers/common/cpt/cpt_pmd_ops_helper.h index dd32f9a406..716ae94c8e 100644 --- a/drivers/common/cpt/cpt_pmd_ops_helper.h +++ b/drivers/common/cpt/cpt_pmd_ops_helper.h @@ -31,4 +31,32 @@ cpt_pmd_ops_helper_get_mlen_direct_mode(void); */ int cpt_pmd_ops_helper_get_mlen_sg_mode(void); + +/* + * Get size of meta buffer to be allocated for asymmetric crypto operations + * + * @return + * - length + */ +int +cpt_pmd_ops_helper_asym_get_mlen(void); + +/* + * Initialize ECC FMUL precomputed table + * + * @param + * - pointer to fpm_table iova address + * + * @return + * - 0 on success, negative on error + */ +__rte_experimental +int cpt_fpm_init(uint64_t *fpm_table_iova); + +/* + * Clear ECC FMUL precomputed table + */ +__rte_experimental +void cpt_fpm_clear(void); + #endif /* _CPT_PMD_OPS_HELPER_H_ */