numam-dpdk/lib/librte_security
Lukasz Wojciechowski b6ee985478 security: fix verification of parameters
This patch adds verification of the parameters to the ret_security API
functions. All required parameters are checked if they are not NULL.

Checks verify full chain of pointers, e.g. in case of verification of
"instance->ops->session_XXX", they check also "instance"
and "instance->ops".

Fixes: c261d1431b ("security: introduce security API and framework")
Fixes: 1a08c379b9 ("security: support user data retrieval")
Cc: stable@dpdk.org

Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-04-19 17:15:14 +02:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_security_driver.h security: remove experimental tag 2018-11-18 22:31:30 +01:00
rte_security_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_security.c security: fix verification of parameters 2020-04-19 17:15:14 +02:00
rte_security.h security: add CPU crypto action type 2020-02-05 15:29:49 +01:00