Re: [PATCH v2 1/9] crypto: authenc - don't leak pointers to authenc keys

2018-03-30 Thread Herbert Xu
On Fri, Mar 23, 2018 at 12:42:16PM +0200, Tudor Ambarus wrote: > In crypto_authenc_setkey we save pointers to the authenc keys in > a local variable of type struct crypto_authenc_keys and we don't > zeroize it after use. Fix this and don't leak pointers to the > authenc keys. > > Signed-off-by:

[PATCH v2 1/9] crypto: authenc - don't leak pointers to authenc keys

2018-03-23 Thread Tudor Ambarus
In crypto_authenc_setkey we save pointers to the authenc keys in a local variable of type struct crypto_authenc_keys and we don't zeroize it after use. Fix this and don't leak pointers to the authenc keys. Signed-off-by: Tudor Ambarus --- crypto/authenc.c | 11