Re: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters

2020-04-03 Thread Lukasz Wojciechowski
f Of Lukasz Wojciechowski >> Sent: Thursday, March 12, 2020 8:47 PM >> To: dev@dpdk.org >> Subject: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of >> parameters > [Anoob] I believe the title has to be: "security: fix verification of > parameters"

Re: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters

2020-03-17 Thread Anoob Joseph
Hi Lukasz, Please see inline. Thanks, Anoob > -Original Message- > From: dev On Behalf Of Lukasz Wojciechowski > Sent: Thursday, March 12, 2020 8:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of > parameters [Anoob] I

[dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters

2020-03-12 Thread Lukasz Wojciechowski
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". Signed-of