eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit d79b2b28eccc3f52b24792a82ade40011a0a929a
parent 7bfaf182e67269790c75488fb6cd1663a9255e3e
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Thu, 17 Jan 2019 12:25:37 -0800

eapol: use HMAC-SHA384 for OWE in MIC calculation

Diffstat:
Msrc/eapol.c | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/eapol.c b/src/eapol.c @@ -85,9 +85,17 @@ bool eapol_calculate_mic(enum ie_rsn_akm_suite akm, const uint8_t *kck, return cmac_aes(kck, 16, frame, frame_len, mic, mic_len); case IE_RSN_AKM_SUITE_OWE: - return hmac_sha256(kck, mic_len, frame, + switch (mic_len) { + case 16: + return hmac_sha256(kck, mic_len, frame, frame_len, mic, mic_len); + case 24: + return hmac_sha384(kck, 24, frame, frame_len, + mic, mic_len); + } + + /* fall through */ default: return false; }