cryptodev: add user data size to symmetric session
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 10 Jan 2019 14:50:20 +0000 (14:50 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commit9e5f5ecb5eb6ce243b9835735b37c5959ec7dd6b
tree570fdac11f731fbadedf6689ef4cd2ec1649f807
parente764cd72a9bc697b84b055ad3cbb723860e256e4
cryptodev: add user data size to symmetric session

This patch adds a user_data_sz field to cryptodev symmetric session.
The field is used to check if reading or writing the session's user
data field is eligible.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
doc/guides/prog_guide/cryptodev_lib.rst
doc/guides/prog_guide/img/cryptodev_sym_sess.svg
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h