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);
292 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0)
294 wpa_hexdump_key(MSG_DEBUG, "GMK", group->GMK, WPA_GMK_LEN);
337 * Set initial GMK/Counter value here. The actual values that will be
948 * available, the next atempt will trigger GMK/Key
1169 static int wpa_gmk_to_gtk(const u8 *gmk, const char *label, const u8 *addr,
1176 /* GTK = PRF-X(GMK, "Group key expansion",
1192 sha256_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len);
1194 if (sha1_prf(gmk, WPA_GMK_LEN, label, data, sizeof(data), gtk, gtk_len)
1592 * GMK and Counter here to improve their strength if there was not
1595 wpa_printf(MSG_DEBUG, "WPA: Re-initialize GMK/Counter on first "
2368 if (wpa_gmk_to_gtk(group->GMK, "Group key expansion",
2379 if (wpa_gmk_to_gtk(group->GMK, "IGTK key expansion",