Search Linux Wireless

Re: [PATCH] mac80211: Let drivers have access to TKIP key offets for TX and RX MIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2008-06-21 at 14:23 +0200, Ivo van Doorn wrote:
> On Saturday 21 June 2008, Johannes Berg wrote:
> > On Sat, 2008-06-21 at 07:51 -0400, Luis R. Rodriguez wrote:
> > > Some drivers may want to to use the TKIP key offsets for TX and RX
> > > MIC so lets move this out.
> > > 
> > > Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx>
> > > ---
> > >  include/net/cfg80211.h |    5 +++++
> > >  net/mac80211/key.h     |   37 ++++++++++++-------------------------
> > >  2 files changed, 17 insertions(+), 25 deletions(-)
> > > 
> > > diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
> > > index e007508..6cb8b02 100644
> > > --- a/include/net/cfg80211.h
> > > +++ b/include/net/cfg80211.h
> > > @@ -12,6 +12,11 @@
> > >   * Copyright 2006, 2007	Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> > >   */
> > >  
> > > +/* Starting offsets for each key for TKIP */
> > > +#define ALG_TKIP_TEMP_ENCR_KEY		0
> > > +#define ALG_TKIP_TEMP_AUTH_TX_MIC_KEY	16
> > > +#define ALG_TKIP_TEMP_AUTH_RX_MIC_KEY	24
> > 
> > put it into nl80211 and give it proper namespace prefixes, please.
> 
> Don't we need something similar for AES keys as well?

I don't think there is a separate MIC key for AES, is there?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux