Re: [PATCH] mwl8k: Use struct_group() for memcpy() region
From: Kees Cook
Date: Thu Nov 18 2021 - 15:24:49 EST
On Thu, Nov 18, 2021 at 08:45:22PM +0100, Johannes Berg wrote:
> On Thu, 2021-11-18 at 10:37 -0800, Kees Cook wrote:
> >
> > - __u8 key_material[MAX_ENCR_KEY_LENGTH];
> > - __u8 tkip_tx_mic_key[MIC_KEY_LENGTH];
> > - __u8 tkip_rx_mic_key[MIC_KEY_LENGTH];
> > + struct {
> > + __u8 key_material[MAX_ENCR_KEY_LENGTH];
> >
>
> That got one tab too many?
Whoops! Thanks, I will adjust. :)
--
Kees Cook