]> git.ipfire.org Git - thirdparty/hostap.git/commit
mka: Derive MACsec cipher suite and MKA algorithm table index
authorJouni Malinen <j@w1.fi>
Thu, 27 Dec 2018 14:37:57 +0000 (16:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 29 Dec 2018 09:05:39 +0000 (11:05 +0200)
commit4d91d4a7cce24e927fce2e59e51994e0a0ffeff7
tree5f638b07157fe0f0375ae031408a583a49c68f95
parent594b7fbddeb67546e5a8997c1675a8d84a792cf9
mka: Derive MACsec cipher suite and MKA algorithm table index

Instead of using a specifically set index value from table definition,
use the actual real index of the table entry. This removes need for
maintaining these index values separately. Furthermore, the
mka_alg_tbl[] index was already off-by-one (but not used anywhere).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/pae/ieee802_1x_kay.c
src/pae/ieee802_1x_kay_i.h