Home | History | Annotate | Download | only in rsn_supp

Lines Matching defs:peerkey

23 #include "peerkey.h"
1555 struct wpa_peerkey *peerkey = NULL;
1678 for (peerkey = sm->peerkey; peerkey; peerkey = peerkey->next) {
1679 if (os_memcmp(peerkey->addr, src_addr, ETH_ALEN) == 0)
1683 if (!(key_info & WPA_KEY_INFO_SMK_MESSAGE) && peerkey) {
1684 if (!peerkey->initiator && peerkey->replay_counter_set &&
1685 os_memcmp(key->replay_counter, peerkey->replay_counter,
1691 } else if (peerkey->initiator) {
1696 if (os_memcmp(_tmp, peerkey->replay_counter,
1707 if (peerkey && peerkey->initiator && (key_info & WPA_KEY_INFO_ACK)) {
1714 if (!peerkey && sm->rx_replay_counter_set &&
1725 && (peerkey == NULL || !peerkey->initiator)
1739 if ((key_info & WPA_KEY_INFO_MIC) && !peerkey &&
1744 if ((key_info & WPA_KEY_INFO_MIC) && peerkey &&
1745 peerkey_verify_eapol_key_mic(sm, peerkey, key, ver, tmp, data_len))
1774 if (peerkey) {
1775 /* PeerKey 4-Way Handshake */
1776 peerkey_rx_eapol_4way(sm, peerkey, key, key_info, ver);
1786 /* PeerKey SMK Handshake */