Re: [PATCH] crypto: cavium/nitrox - fix a DMA pool free failure

2018-10-29 Thread Wenwen Wang
Hello, Can anyone confirm this bug? Thanks! Wenwen On Thu, Oct 18, 2018 at 7:51 PM Wenwen Wang wrote: > > In crypto_alloc_context(), a DMA pool is allocated through dma_pool_alloc() > to hold the crypto context. The meta data of the DMA pool, including the > pool used for the allo

[PATCH] crypto: cavium/nitrox - fix a DMA pool free failure

2018-10-18 Thread Wenwen Wang
tructure ctx_hdr is not changed to ensure the compatibility. Signed-off-by: Wenwen Wang --- drivers/crypto/cavium/nitrox/nitrox_algs.c | 12 +++- drivers/crypto/cavium/nitrox/nitrox_lib.c | 22 +- drivers/crypto/cavium/nitrox/nitrox_req.h | 7 +++ 3 files change

[PATCH] crypto: chtls - fix a missing-check bug

2018-05-18 Thread Wenwen Wang
y() to set a wrong key or other issues. This patch reuses the data copied in the first try so as to ensure these checks will not be bypassed. Signed-off-by: Wenwen Wang --- drivers/crypto/chelsio/chtls/chtls_main.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/

[PATCH] crypto: chtls - fix a missing-check bug

2018-05-05 Thread Wenwen Wang
y() to set a wrong key or other issues. This patch reuses the data copied in the first try so as to ensure these checks will not be bypassed. Signed-off-by: Wenwen Wang --- drivers/crypto/chelsio/chtls/chtls_main.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/