Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:kdf

2  * EAP peer method: EAP-AKA (RFC 4187) and EAP-AKA' (draft-arkko-eap-aka-kdf)
62 u16 kdf;
665 u8 id, u16 kdf)
670 data->kdf = kdf;
671 wpa_printf(MSG_DEBUG, "Generating EAP-AKA Challenge (id=%d) (KDF "
676 eap_sim_msg_add(msg, EAP_SIM_AT_KDF, kdf, NULL, 0);
687 if (attr->kdf[i] == EAP_AKA_PRIME_KDF)
692 /* No matching KDF found - fail authentication as if AUTN had been
706 /* The only allowed (and required) duplication of a KDF is the addition
707 * of the selected KDF into the beginning of the list. */
710 if (attr->kdf[0] != data->kdf) {
712 "accept the selected KDF");
717 if (attr->kdf[i] == data->kdf)
723 "duplicate the selected KDF");
732 for (i = data->kdf ? 1 : 0; i < attr->kdf_count; i++) {
734 if (attr->kdf[i] == attr->kdf[j]) {
736 "included a duplicated KDF");
795 if (attr->kdf[0] != EAP_AKA_PRIME_KDF)
798 data->kdf = EAP_AKA_PRIME_KDF;
799 wpa_printf(MSG_DEBUG, "EAP-AKA': KDF %d selected", data->kdf);