Searched refs:inonce (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/src/rsn_supp/ |
D | peerkey.c | 170 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() 248 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2() 309 const u8 *inonce, const u8 *mac_i, u8 *smkid, in rsn_smkid() argument 321 addr[3] = inonce; in rsn_smkid() 374 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) { in wpa_supplicant_send_stk_1_of_4() 381 peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 382 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 437 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_3_of_4() 459 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m4() 488 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m5() [all …]
|
D | tdls.c | 95 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member 346 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) { in wpa_tdls_generate_tpk() 347 nonce[0] = peer->inonce; in wpa_tdls_generate_tpk() 351 nonce[1] = peer->inonce; in wpa_tdls_generate_tpk() 597 os_memset(peer->inonce, 0, WPA_NONCE_LEN); in wpa_tdls_peer_free() 670 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_recv_teardown_notify() 913 if (os_get_random(peer->inonce, WPA_NONCE_LEN)) { in wpa_tdls_send_tpk_m1() 921 peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m1() 922 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m1() 1021 os_memcpy(ftie->Snonce, peer->inonce, WPA_NONCE_LEN); in wpa_tdls_send_tpk_m2() [all …]
|
D | peerkey.h | 23 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | peerkey.c | 169 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() 247 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2() 308 const u8 *inonce, const u8 *mac_i, u8 *smkid, in rsn_smkid() argument 320 addr[3] = inonce; in rsn_smkid() 373 if (os_get_random(peerkey->inonce, WPA_NONCE_LEN)) { in wpa_supplicant_send_stk_1_of_4() 380 peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 381 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 436 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_3_of_4() 458 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m4() 487 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_smk_m5() [all …]
|
D | peerkey.h | 23 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member
|
/external/wpa_supplicant/ |
D | wpa.c | 1136 if (hostapd_get_rand(peerkey->inonce, WPA_NONCE_LEN)) { in wpa_sm_stkstart() 1143 os_memcpy(req->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_sm_stkstart() 2239 peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() 2319 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2() 2374 const u8 *inonce, const u8 *mac_i, u8 *smkid) in rsn_smkid() argument 2385 addr[3] = inonce; in rsn_smkid() 2433 if (hostapd_get_rand(peerkey->inonce, WPA_NONCE_LEN)) { in wpa_supplicant_send_stk_1_of_4() 2440 peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 2441 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_1_of_4() 2496 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_stk_3_of_4() [all …]
|
D | wpa_i.h | 52 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */ member
|