RE: [PATCH] crypto/qat: fix missing copy guards in asym mod

2022-06-21 Thread Akhil Goyal
> > This commit fixes missing guards for size of memcpy, > > it is needed to prevent faulty access when incorrect length > > passed from the user. > > > > Fixes: 3b78aa7b2317 ("crypto/qat: refactor asymmetric crypto functions") > > > > Signed-off-by: Arek Kusztal > > --- > Acked-by: Fan Zhang Ap

RE: [PATCH] crypto/qat: fix missing copy guards in asym mod

2022-06-20 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, June 17, 2022 12:20 PM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH] crypto/qat: fix missing copy guards in asym mod > > This commit fixes

[PATCH] crypto/qat: fix missing copy guards in asym mod

2022-06-17 Thread Arek Kusztal
This commit fixes missing guards for size of memcpy, it is needed to prevent faulty access when incorrect length passed from the user. Fixes: 3b78aa7b2317 ("crypto/qat: refactor asymmetric crypto functions") Signed-off-by: Arek Kusztal --- drivers/crypto/qat/qat_asym.c | 8 1 file chan