crypto/dpaax_sec: enable IPsec AES-CTR to use nonce
authorVakul Garg <vakul.garg@nxp.com>
Wed, 6 Nov 2019 05:17:31 +0000 (10:47 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 8 Nov 2019 12:51:16 +0000 (13:51 +0100)
commit1cdfbb0b8372ae4a4f22e122f52c4f3014d7a1c7
treece00a825cb6fa0ee21e199f190619ed78d30e5ea
parent5906b0ad0f7550a14d6c4c7dbcb6919a5352007f
crypto/dpaax_sec: enable IPsec AES-CTR to use nonce

The protocol aware ipsec descriptor has been modified to
use ctr_initial value of 1 and salt configured for ipsec SA.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/common/dpaax/caamflib/desc/ipsec.h
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa_sec/dpaa_sec.c