crypto/dpaa_sec: reorganize session management
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 14 Oct 2019 06:53:30 +0000 (12:23 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 23 Oct 2019 14:57:06 +0000 (16:57 +0200)
commit8524b44ebcf7b4045628fa2416d50eaa7a695f6f
tree01c2412df50cb82c944c6dfd6a92f516e6399809
parent7bbe8faaa658bf3c529678030d66dccbdff6cea5
crypto/dpaa_sec: reorganize session management

The session related parameters shall be populated during
the session create only.
At the runtime on first packet, the CDB should just reference
the session data instead of re-interpreting data again.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.c
drivers/crypto/dpaa_sec/dpaa_sec.h