RE: [PATCH 1/3] crypto/qat: make immutable parameters constant

2022-10-17 Thread Power, Ciara
Hi Arek, > -Original Message- > From: Arek Kusztal > Sent: Wednesday 17 August 2022 07:56 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH 1/3] crypto/qat: make immutable parameters constant > > All pointers passe

[PATCH 1/3] crypto/qat: make immutable parameters constant

2022-08-17 Thread Arek Kusztal
All pointers passed to functions that are not supposed to have its data changed should be marked as constant. Additionally session field should be checked only in with session case. Signed-off-by: Arek Kusztal --- drivers/common/qat/qat_adf/qat_pke.h | 16 ++--- drivers/crypto/qat/qat_asym.c