Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-09 Thread Eric Biggers
On Tue, Jul 09, 2019 at 11:34:08PM +, Gary R Hook wrote: > On 7/9/19 5:56 PM, Eric Biggers wrote: > > On Tue, Jul 09, 2019 at 10:09:16PM +, Gary R Hook wrote: > >> On 7/9/19 3:10 PM, Eric Biggers wrote: > >>> On Mon, Jul 08, 2019 at 05:08:09PM +, Gary R Hook wrote: > On 7/5/19 2:40

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-09 Thread Gary R Hook
On 7/9/19 5:56 PM, Eric Biggers wrote: > On Tue, Jul 09, 2019 at 10:09:16PM +, Gary R Hook wrote: >> On 7/9/19 3:10 PM, Eric Biggers wrote: >>> On Mon, Jul 08, 2019 at 05:08:09PM +, Gary R Hook wrote: On 7/5/19 2:40 PM, Eric Biggers wrote: > Hi Gary, > > On Wed, Jul 03, 201

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-09 Thread Eric Biggers
On Tue, Jul 09, 2019 at 10:09:16PM +, Gary R Hook wrote: > On 7/9/19 3:10 PM, Eric Biggers wrote: > > On Mon, Jul 08, 2019 at 05:08:09PM +, Gary R Hook wrote: > >> On 7/5/19 2:40 PM, Eric Biggers wrote: > >>> Hi Gary, > >>> > >>> On Wed, Jul 03, 2019 at 07:21:26PM +, Hook, Gary wrote: >

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-09 Thread Gary R Hook
On 7/9/19 3:10 PM, Eric Biggers wrote: > On Mon, Jul 08, 2019 at 05:08:09PM +, Gary R Hook wrote: >> On 7/5/19 2:40 PM, Eric Biggers wrote: >>> Hi Gary, >>> >>> On Wed, Jul 03, 2019 at 07:21:26PM +, Hook, Gary wrote: The AES GCM function reuses an 'op' data structure, which members >>>

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-09 Thread Eric Biggers
On Mon, Jul 08, 2019 at 05:08:09PM +, Gary R Hook wrote: > On 7/5/19 2:40 PM, Eric Biggers wrote: > > Hi Gary, > > > > On Wed, Jul 03, 2019 at 07:21:26PM +, Hook, Gary wrote: > >> The AES GCM function reuses an 'op' data structure, which members > >> contain values that must be cleared for

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-08 Thread Gary R Hook
On 7/5/19 2:40 PM, Eric Biggers wrote: > Hi Gary, > > On Wed, Jul 03, 2019 at 07:21:26PM +, Hook, Gary wrote: >> The AES GCM function reuses an 'op' data structure, which members >> contain values that must be cleared for each (re)use. >> >> Fixes: 36cf515b9bbe ("crypto: ccp - Enable support f

Re: [PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-05 Thread Eric Biggers
Hi Gary, On Wed, Jul 03, 2019 at 07:21:26PM +, Hook, Gary wrote: > The AES GCM function reuses an 'op' data structure, which members > contain values that must be cleared for each (re)use. > > Fixes: 36cf515b9bbe ("crypto: ccp - Enable support for AES GCM on v5 CCPs") > > Signed-off-by: Gary

[PATCH] crypto: ccp - memset structure fields to zero before reuse

2019-07-03 Thread Hook, Gary
The AES GCM function reuses an 'op' data structure, which members contain values that must be cleared for each (re)use. Fixes: 36cf515b9bbe ("crypto: ccp - Enable support for AES GCM on v5 CCPs") Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-ops.c | 12 +++- 1 file changed, 11