Re: [PATCH] crypto: nx: Fix memcpy() over-reading in nonce

2021-06-24 Thread Herbert Xu
On Wed, Jun 16, 2021 at 01:34:59PM -0700, Kees Cook wrote: > Fix typo in memcpy() where size should be CTR_RFC3686_NONCE_SIZE. > > Fixes: 030f4e968741 ("crypto: nx - Fix reentrancy bugs") > Cc: sta...@vger.kernel.org > Signed-off-by: Kees Cook > --- > drivers/crypto/nx/nx-aes-ctr.c | 2 +- > 1 f

Re: [PATCH] crypto: nx: Fix memcpy() over-reading in nonce

2021-06-18 Thread Kees Cook
On Thu, Jun 17, 2021 at 04:08:15PM +1000, Michael Ellerman wrote: > Kees Cook writes: > > Fix typo in memcpy() where size should be CTR_RFC3686_NONCE_SIZE. > > > > Fixes: 030f4e968741 ("crypto: nx - Fix reentrancy bugs") > > Cc: sta...@vger.kernel.org > > Signed-off-by: Kees Cook > > Thanks. >

Re: [PATCH] crypto: nx: Fix memcpy() over-reading in nonce

2021-06-16 Thread Michael Ellerman
Kees Cook writes: > Fix typo in memcpy() where size should be CTR_RFC3686_NONCE_SIZE. > > Fixes: 030f4e968741 ("crypto: nx - Fix reentrancy bugs") > Cc: sta...@vger.kernel.org > Signed-off-by: Kees Cook Thanks. > --- > drivers/crypto/nx/nx-aes-ctr.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] crypto: nx: Fix memcpy() over-reading in nonce

2021-06-16 Thread Kees Cook
Fix typo in memcpy() where size should be CTR_RFC3686_NONCE_SIZE. Fixes: 030f4e968741 ("crypto: nx - Fix reentrancy bugs") Cc: sta...@vger.kernel.org Signed-off-by: Kees Cook --- drivers/crypto/nx/nx-aes-ctr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/nx/