Suite B: Add AKM 00-0F-AC:11
This adds definitions for the 128-bit level Suite B AKM 00-0F-AC:11. The functionality itself is not yet complete, i.e., this commit only includes parts to negotiate the new AKM. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
eec0cc8da2
commit
666497c8e6
17 changed files with 82 additions and 8 deletions
|
@ -242,7 +242,8 @@ static int wpa_supplicant_process_smk_m2(
|
|||
peerkey->cipher = cipher;
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
if (ie.key_mgmt & (WPA_KEY_MGMT_IEEE8021X_SHA256 |
|
||||
WPA_KEY_MGMT_PSK_SHA256))
|
||||
WPA_KEY_MGMT_PSK_SHA256 |
|
||||
WPA_KEY_MGMT_IEEE8021X_SUITE_B))
|
||||
peerkey->use_sha256 = 1;
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
|
||||
|
|
|
@ -298,7 +298,8 @@ void rsn_preauth_candidate_process(struct wpa_sm *sm)
|
|||
sm->proto != WPA_PROTO_RSN ||
|
||||
wpa_sm_get_state(sm) != WPA_COMPLETED ||
|
||||
(sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X &&
|
||||
sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SHA256)) {
|
||||
sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SHA256 &&
|
||||
sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SUITE_B)) {
|
||||
wpa_msg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: not in suitable "
|
||||
"state for new pre-authentication");
|
||||
return; /* invalid state for new pre-auth */
|
||||
|
|
|
@ -1925,6 +1925,8 @@ static u32 wpa_key_mgmt_suite(struct wpa_sm *sm)
|
|||
WPA_AUTH_KEY_MGMT_CCKM);
|
||||
case WPA_KEY_MGMT_WPA_NONE:
|
||||
return WPA_AUTH_KEY_MGMT_NONE;
|
||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B:
|
||||
return RSN_AUTH_KEY_MGMT_802_1X_SUITE_B;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -173,6 +173,8 @@ static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len,
|
|||
} else if (key_mgmt == WPA_KEY_MGMT_FT_SAE) {
|
||||
RSN_SELECTOR_PUT(pos, RSN_AUTH_KEY_MGMT_FT_SAE);
|
||||
#endif /* CONFIG_SAE */
|
||||
} else if (key_mgmt == WPA_KEY_MGMT_IEEE8021X_SUITE_B) {
|
||||
RSN_SELECTOR_PUT(pos, RSN_AUTH_KEY_MGMT_802_1X_SUITE_B);
|
||||
} else {
|
||||
wpa_printf(MSG_WARNING, "Invalid key management type (%d).",
|
||||
key_mgmt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue