Lines Matching defs:peerkey
24 #include "peerkey.h"
1770 struct wpa_peerkey *peerkey = NULL;
1945 for (peerkey = sm->peerkey; peerkey; peerkey = peerkey->next) {
1946 if (os_memcmp(peerkey->addr, src_addr, ETH_ALEN) == 0)
1950 if (!(key_info & WPA_KEY_INFO_SMK_MESSAGE) && peerkey) {
1951 if (!peerkey->initiator && peerkey->replay_counter_set &&
1952 os_memcmp(key->replay_counter, peerkey->replay_counter,
1958 } else if (peerkey->initiator) {
1963 if (os_memcmp(_tmp, peerkey->replay_counter,
1974 if (peerkey && peerkey->initiator && (key_info & WPA_KEY_INFO_ACK)) {
1981 if (!peerkey && sm->rx_replay_counter_set &&
1992 && (peerkey == NULL || !peerkey->initiator)
2006 if ((key_info & WPA_KEY_INFO_MIC) && !peerkey &&
2011 if ((key_info & WPA_KEY_INFO_MIC) && peerkey &&
2012 peerkey_verify_eapol_key_mic(sm, peerkey, key192, ver, tmp,
2031 if (peerkey) {
2032 /* PeerKey 4-Way Handshake */
2033 peerkey_rx_eapol_4way(sm, peerkey, key, key_info, ver,
2046 /* PeerKey SMK Handshake */
2990 struct wpa_peerkey *peerkey;
2992 for (peerkey = sm->peerkey; peerkey; peerkey = peerkey->next) {
2993 if (os_memcmp(peerkey->addr, src_addr, ETH_ALEN) == 0)
2997 if (!peerkey)