crypto/dpaax_sec: support HFN override
authorAkhil Goyal <akhil.goyal@nxp.com>
Mon, 30 Sep 2019 14:40:44 +0000 (20:10 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 9 Oct 2019 09:50:12 +0000 (11:50 +0200)
commit6a0c9d364afcb0b0ca445efb12a5f6fb65fd1ae2
tree75999f69228bc60f1974b7226021150fe9aae416
parentbadac76cec520f4e29f016b0bb1c3c56bf519f7e
crypto/dpaax_sec: support HFN override

Per packet HFN override is supported in NXP PMDs
(dpaa2_sec and dpaa_sec). DPOVRD register can be
updated with the per packet value if it is enabled
in session configuration. The value is read from
the IV offset.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h
drivers/crypto/dpaa_sec/dpaa_sec.c
drivers/crypto/dpaa_sec/dpaa_sec.h