[PATCH 0/8] mka improvements

Sabrina Dubroca sd at queasysnail.net
Tue Sep 20 00:43:03 PDT 2016


This patchset contains a variety of cleanups for the MKA code
(src/pae).

The first patch moves some structs to a common header, so that they
can be reused in macsec drivers (patches 2-6).

Patch 7 moves some macsec_qca-specific code away from the core MKA
implementation, and into the driver itself.

Patch 8 adds a new op for macsec drivers (->macsec_get_capability),
that driver can use to advertise whether they support optional
features of MACsec like integrity-only or confidentiality offsets.

I've been working on adding support for the new macsec driver present
in the Linux kernel, as well as adding a new mode (pre-shared CAK/CKN
pair) and new configuration options for the current MKA code.

This series is the third part of this work.  I still have a few more
cleanups coming up, and patches to add the new features.  You can have
a look at the current state of that work here:

    https://github.com/qsn/hostapd/tree/macsec

The macsec_linux driver depends on libnl v3.2.28.

Sabrina Dubroca (8):
  mka: move structs {transmit,receive}_{sa,sc} to a common header
  mka: pass full structures down to macsec drivers' packet number ops
  mka: pass full structures down to macsec drivers' transmit SC ops
  mka: pass full structures down to macsec drivers' transmit SA ops
  mka: pass full structures down to macsec drivers' receive SC ops
  mka: pass full structures down to macsec drivers' receive SA ops
  mka: remove "channel" hacks from the stack and the macsec_qca driver
  mka: add driver op to get macsec capabilities

 src/drivers/driver.h            | 105 ++++++----------
 src/drivers/driver_macsec_qca.c | 261 ++++++++++++++++++++++++++++++----------
 src/pae/ieee802_1x_kay.c        |  56 ++++-----
 src/pae/ieee802_1x_kay.h        | 114 ++++++++++++++----
 src/pae/ieee802_1x_kay_i.h      |  82 -------------
 src/pae/ieee802_1x_secy_ops.c   |  92 +++++---------
 src/pae/ieee802_1x_secy_ops.h   |   5 +-
 wpa_supplicant/driver_i.h       |  99 ++++++---------
 wpa_supplicant/wpas_kay.c       |  85 +++++--------
 9 files changed, 447 insertions(+), 452 deletions(-)

-- 
2.10.0




More information about the Hostap mailing list