Home | History | Annotate | Download | only in ap

Lines Matching refs:GMK

221 	if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) {
225 wpa_auth_logger(wpa_auth, NULL, LOGGER_DEBUG, "GMK rekeyd");
226 wpa_hexdump_key(MSG_DEBUG, "GMK",
227 wpa_auth->group->GMK, WPA_GMK_LEN);
310 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0)
312 wpa_hexdump_key(MSG_DEBUG, "GMK", group->GMK, WPA_GMK_LEN);
359 * Set initial GMK/Counter value here. The actual values that will be
854 * available, the next atempt will trigger GMK/Key
1068 static int wpa_gmk_to_gtk(const u8 *gmk, const char *label, const u8 *addr,
1075 /* GTK = PRF-X(GMK, "Group key expansion",
1091 sha256_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len);
1093 if (sha1_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len)
1507 * GMK and Counter here to improve their strength if there was not
1510 wpa_printf(MSG_DEBUG, "WPA: Re-initialize GMK/Counter on first "
2229 if (wpa_gmk_to_gtk(group->GMK, "Group key expansion",
2240 if (wpa_gmk_to_gtk(group->GMK, "IGTK key expansion",