Home | History | Annotate | Download | only in eap_common

Lines Matching refs:k_aut

77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk)
88 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN);
96 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: K_aut",
97 k_aut, EAP_SIM_K_AUT_LEN);
165 int eap_sim_verify_mac(const u8 *k_aut, const struct wpabuf *req,
194 wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: Verify MAC - K_aut",
195 k_aut, EAP_SIM_K_AUT_LEN);
196 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
205 void eap_sim_add_mac(const u8 *k_aut, const u8 *msg, size_t msg_len, u8 *mac,
222 wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: Add MAC - K_aut",
223 k_aut, EAP_SIM_K_AUT_LEN);
224 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
278 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk)
288 * K_aut = MK[128..383]
306 os_memcpy(k_aut, pos, EAP_AKA_PRIME_K_AUT_LEN);
307 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': K_aut",
308 k_aut, EAP_AKA_PRIME_K_AUT_LEN);
360 int eap_sim_verify_mac_sha256(const u8 *k_aut, const struct wpabuf *req,
389 wpa_hexdump_key(MSG_MSGDUMP, "EAP-AKA': Verify MAC - K_aut",
390 k_aut, EAP_AKA_PRIME_K_AUT_LEN);
391 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac);
400 void eap_sim_add_mac_sha256(const u8 *k_aut, const u8 *msg, size_t msg_len,
417 wpa_hexdump_key(MSG_MSGDUMP, "EAP-AKA': Add MAC - K_aut",
418 k_aut, EAP_AKA_PRIME_K_AUT_LEN);
419 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac);
1008 const u8 *k_aut,
1021 if (k_aut && msg->mac && type == EAP_TYPE_AKA_PRIME) {
1022 eap_sim_add_mac_sha256(k_aut, (u8 *) wpabuf_head(msg->buf),
1028 if (k_aut && msg->mac) {
1029 eap_sim_add_mac(k_aut, (u8 *) wpabuf_head(msg->buf),