Re: [PATCH] mac80211: aes_ccm: move struct aead_req off the stack

From: Johannes Berg
Date: Fri Oct 14 2016 - 09:14:46 EST


On Fri, 2016-10-14 at 15:10 +0200, Johannes Berg wrote:
> >
> > So use kzalloc
>
> Do we really need kzalloc()? We have things on the stack right now,
> and don't initialize, so surely we don't really need to zero things?Â

Err, never mind, I'm an idiot - we *do* initialize to 0, of course.

johannes