crypto/dpaa2_sec/hw: support ZUCE and ZUCA
authorVakul Garg <vakul.garg@nxp.com>
Mon, 30 Sep 2019 14:40:59 +0000 (20:10 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit680f73272a1611250a14d7b491d29c5d7652cc44
treea4df48183ca4e1186eee02f88fc18464777ff60a
parent4f52e0cff3d21ecb26017cf85315042092546846
crypto/dpaa2_sec/hw: support ZUCE and ZUCA

This patch add support for ZUC Encryption and ZUC Authentication.
Before passing to CAAM, the 16-byte ZUCA IV is converted to 8-byte
format which consists of 38-bits of count||bearer|direction.

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/hw/desc/algo.h