Re: [patch] crypto: keywrap - memzero the correct memory

2016-02-01 Thread Herbert Xu
On Sat, Jan 30, 2016 at 05:38:28PM +0300, Dan Carpenter wrote: > We're clearing the wrong memory. The memory corruption is likely > harmless because we weren't going to use that stack memory again but not > zeroing is a potential information leak. > > Fixes: e28facde3c39 ('crypto: keywrap - add k

Re: [patch] crypto: keywrap - memzero the correct memory

2016-01-31 Thread Stephan Mueller
Am Samstag, 30. Januar 2016, 17:38:28 schrieb Dan Carpenter: Hi Dan, > We're clearing the wrong memory. The memory corruption is likely > harmless because we weren't going to use that stack memory again but not > zeroing is a potential information leak. > > Fixes: e28facde3c39 ('crypto: keywrap

[patch] crypto: keywrap - memzero the correct memory

2016-01-30 Thread Dan Carpenter
We're clearing the wrong memory. The memory corruption is likely harmless because we weren't going to use that stack memory again but not zeroing is a potential information leak. Fixes: e28facde3c39 ('crypto: keywrap - add key wrapping block chaining mode') Signed-off-by: Dan Carpenter diff --g