Home | History | Annotate | Download | only in eap_common

Lines Matching refs:k_encr

77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk)
86 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN);
94 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: K_encr",
95 k_encr, EAP_SIM_K_ENCR_LEN);
277 const u8 *ik, const u8 *ck, u8 *k_encr,
287 * K_encr = MK[0..127]
301 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN);
302 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': K_encr",
303 k_encr, EAP_SIM_K_ENCR_LEN);
935 u8 * eap_sim_parse_encr(const u8 *k_encr, const u8 *encr_data,
951 if (aes_128_cbc_decrypt(k_encr, iv, decrypted, encr_data_len)) {
1135 int eap_sim_msg_add_encr_end(struct eap_sim_msg *msg, u8 *k_encr, int attr_pad)
1139 if (msg == NULL || k_encr == NULL || msg->iv == 0 || msg->encr == 0)
1162 return aes_128_cbc_encrypt(k_encr, wpabuf_head_u8(msg->buf) + msg->iv,