[lx2160a-SEC] LX2160A SEC SNOW3G and ZUC crypto support in LSDK20.04 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[lx2160a-SEC] LX2160A SEC SNOW3G and ZUC crypto support in LSDK20.04 ?

1,387 Views
Jeffrey_Lai
Contributor II

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 

0 Kudos
Reply
2 Replies

1,294 Views
hemantagrawal
NXP Employee
NXP Employee

SNOW3G and ZUC are supported for cipher only case in later version of DPDK in LSDK.   

https://source.codeaurora.org/external/qoriq/qoriq-components/dpdk/log/?h=github.qoriq-os/19.11-qori...

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

https://source.codeaurora.org/external/qoriq/qoriq-components/dpdk/tree/app/test/test_cryptodev_secu...

 

 

0 Kudos
Reply

1,377 Views
bpe
NXP Employee
NXP Employee


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

 

0 Kudos
Reply