Home
last modified time | relevance | path

Searched refs:inonce (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c164 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3()
239 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2()
297 const u8 *inonce, const u8 *mac_i, u8 *smkid, in rsn_smkid() argument
309 addr[3] = inonce; in rsn_smkid()
362 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) { in wpa_supplicant_send_stk_1_of_4()
369 peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4()
370 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4()
425 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_3_of_4()
447 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m4()
476 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m5()
[all …]
Dtdls.c99 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member
395 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) { in wpa_tdls_generate_tpk()
396 nonce[0] = peer->inonce; in wpa_tdls_generate_tpk()
400 nonce[1] = peer->inonce; in wpa_tdls_generate_tpk()
687 os_memset(peer->inonce, 0, WPA_NONCE_LEN); in wpa_tdls_peer_clear()
768 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_teardown()
1124 if (os_get_random(peer->inonce, WPA_NONCE_LEN)) { in wpa_tdls_send_tpk_m1()
1132 peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m1()
1133 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m1()
1233 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m2()
[all …]
Dpeerkey.h17 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member