]> git.ipfire.org Git - thirdparty/hostap.git/commit
AES: Extend key wrap design to support longer AES keys
authorJouni Malinen <j@w1.fi>
Tue, 7 Oct 2014 10:48:45 +0000 (13:48 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Oct 2014 11:57:06 +0000 (14:57 +0300)
commiteefec1e40b8721b37aff8187741c824c7913d0f0
treebcd9527c290b80feb96101186eb3e3317bf07805
parent98a1571d8890a43c9b5fe1cf21f3a1a0e3d02656
AES: Extend key wrap design to support longer AES keys

This adds kek_len argument to aes_wrap() and aes_unwrap() functions and
allows AES to be initialized with 192 and 256 bit KEK in addition to
the previously supported 128 bit KEK.

The test vectors in test-aes.c are extended to cover all the test
vectors from RFC 3394.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth.c
src/ap/wpa_auth_ft.c
src/crypto/aes-unwrap.c
src/crypto/aes-wrap.c
src/crypto/aes_wrap.h
src/eap_server/eap_server_fast.c
src/pae/ieee802_1x_kay.c
src/rsn_supp/wpa.c
src/rsn_supp/wpa_ft.c
tests/test-aes.c
wlantest/rx_eapol.c