Lines Matching refs:encr
42 static int eap_eke_dhcomp_len(u8 dhgroup, u8 encr)
49 if (encr != EAP_EKE_ENCR_AES128_CBC)
382 * DHComponent = Encr(key, y)
387 if (sess->encr != EAP_EKE_ENCR_AES128_CBC)
391 wpa_hexdump(MSG_DEBUG, "EAP-EKE: IV for Encr(key, y)",
398 wpa_hexdump(MSG_DEBUG, "EAP-EKE: DHComponent = Encr(key, y)",
414 if (sess->encr != EAP_EKE_ENCR_AES128_CBC)
470 if (sess->encr == EAP_EKE_ENCR_AES128_CBC)
620 if (sess->encr == EAP_EKE_ENCR_AES128_CBC)
675 if (sess->encr == EAP_EKE_ENCR_AES128_CBC)
731 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr,
735 sess->encr = encr;
748 sess->dhcomp_len = eap_eke_dhcomp_len(sess->dhgroup, sess->encr);