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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,300 次查看
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 项奖励
回复
2 回复数

1,207 次查看
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 项奖励
回复

1,290 次查看
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 项奖励
回复