Hi NXP,
I want to do DPDK application and use cryptographic acceleration by LX2160A SEC to do SNOW3G/ ZUC algorithm.
After read Layerscape Software Development Kit User Guide, Rev. 20.04 and checked the linux caam driver, I did not see any description or source codes about SNOW3G and ZUC support
Does LSDK20.04 implement the function and how to check the function is OK ?
Thank you,
Jeffrey
SNOW3G and ZUC are supported for cipher only case in later version of DPDK in LSDK.
However if you are looking for full pdcp cipher/integrity support, NXP support them as part of DPDK rte_security APIs.
please check:
https://www.dpdk.org/wp-content/uploads/sites/35/2018/10/am-02-dpdk-Dublin-2018-PDCP.pdf
There is no support to SNOW3G/ ZUC in Linux kernel driver for SEC or DPDK, so if
you are looking for a single call to invoke this HW accelerator, none exists.
LSDK provides support to this cryptographic method only in the form of templates for building
custom Job Descriptors. These templates are part of flib/RTA LSDK package. For
details, refer to RTA library Manual (Document Number: WDNCRL), Sections
4.3.4.4 and 4.3.4.5. and to the RTA source, file pdcp.h.
WDNCRL document is a PDF attachment to the main LSDK User Guide
If you wish NXP to add support to this algorithm to the kernel driver or to
create a DPDK application that would invoke it, discuss this option with our
Professional Services team.
Best Regards,
Platon