HomeSort by relevance Sort by last modified time
    Searched refs:WPA_NONCE_LEN (Results 1 - 16 of 16) sorted by null

  /external/wpa_supplicant_8/src/ap/
peerkey_auth.c 150 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN +
151 2 + RSN_SELECTOR_LEN + PMK_LEN + WPA_NONCE_LEN +
162 pos = wpa_add_kde(pos, RSN_KEY_DATA_NONCE, kde->nonce, WPA_NONCE_LEN,
167 key->key_nonce, WPA_NONCE_LEN);
204 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN +
205 2 + RSN_SELECTOR_LEN + PMK_LEN + WPA_NONCE_LEN +
220 WPA_NONCE_LEN, NULL, 0);
224 kde->nonce, WPA_NONCE_LEN);
249 u8 smk[32], buf[ETH_ALEN + 8 + 2 * WPA_NONCE_LEN], *pos;
258 kde.nonce == NULL || kde.nonce_len < WPA_NONCE_LEN) {
    [all...]
wpa_auth_i.h 52 u8 ANonce[WPA_NONCE_LEN];
53 u8 SNonce[WPA_NONCE_LEN];
54 u8 alt_SNonce[WPA_NONCE_LEN];
155 u8 Counter[WPA_NONCE_LEN];
165 u8 GNonce[WPA_NONCE_LEN];
sta_info.h 87 u8 my_nonce[WPA_NONCE_LEN];
88 u8 peer_nonce[WPA_NONCE_LEN];
wpa_auth_ft.c 128 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN);
130 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN);
942 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN);
990 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) {
997 sm->SNonce, WPA_NONCE_LEN);
999 sm->ANonce, WPA_NONCE_LEN);
1140 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) {
1143 ftie->snonce, WPA_NONCE_LEN);
1145 sm->SNonce, WPA_NONCE_LEN);
1149 if (os_memcmp(ftie->anonce, sm->ANonce, WPA_NONCE_LEN) != 0)
    [all...]
wpa_auth.c 352 group->Counter, WPA_NONCE_LEN) < 0)
355 group->Counter, WPA_NONCE_LEN);
882 os_memcpy(sm->SNonce, sm->alt_SNonce, WPA_NONCE_LEN);
965 WPA_NONCE_LEN);
1058 os_memcmp(sm->SNonce, key->key_nonce, WPA_NONCE_LEN) != 0)
1072 os_memcpy(sm->alt_SNonce, sm->SNonce, WPA_NONCE_LEN);
1140 random_add_randomness(key->key_nonce, WPA_NONCE_LEN);
    [all...]
  /external/syslinux/gpxe/src/include/gpxe/
wpa.h 203 #define WPA_NONCE_LEN 32
343 u8 Anonce[WPA_NONCE_LEN];
346 u8 Snonce[WPA_NONCE_LEN];
486 u8 nonce[WPA_NONCE_LEN];
  /external/wpa_supplicant_8/src/rsn_supp/
peerkey.h 17 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */
18 u8 pnonce[WPA_NONCE_LEN]; /* Peer Nonce */
peerkey.c 137 2 + RSN_SELECTOR_LEN + WPA_NONCE_LEN;
153 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN);
166 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN);
241 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN);
247 if (random_get_bytes(peerkey->pnonce, WPA_NONCE_LEN)) {
300 const size_t len[5] = { 8, WPA_NONCE_LEN, ETH_ALEN, WPA_NONCE_LEN,
361 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) {
368 peerkey->inonce, WPA_NONCE_LEN);
369 os_memcpy(msg->key_nonce, peerkey->inonce, WPA_NONCE_LEN);
    [all...]
wpa_ft.c 258 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
260 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN);
352 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
425 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
428 ftie->snonce, WPA_NONCE_LEN);
430 sm->snonce, WPA_NONCE_LEN);
466 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN);
467 wpa_hexdump(MSG_DEBUG, "FT: ANonce", ftie->anonce, WPA_NONCE_LEN);
468 os_memcpy(sm->anonce, ftie->anonce, WPA_NONCE_LEN);
703 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0)
    [all...]
tdls.c 56 u8 Anonce[WPA_NONCE_LEN]; /* Responder Nonce in TDLS */
57 u8 Snonce[WPA_NONCE_LEN]; /* Initiator Nonce in TDLS */
100 u8 inonce[WPA_NONCE_LEN]; /* Initiator Nonce */
101 u8 rnonce[WPA_NONCE_LEN]; /* Responder Nonce */
401 len[0] = WPA_NONCE_LEN;
402 len[1] = WPA_NONCE_LEN;
403 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) {
410 wpa_hexdump(MSG_DEBUG, "TDLS: min(Nonce)", nonce[0], WPA_NONCE_LEN);
411 wpa_hexdump(MSG_DEBUG, "TDLS: max(Nonce)", nonce[1], WPA_NONCE_LEN);
702 os_memset(peer->inonce, 0, WPA_NONCE_LEN);
    [all...]
wpa_i.h 28 u8 snonce[WPA_NONCE_LEN];
29 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */
wpa.c 493 os_memcpy(reply->key_nonce, nonce, WPA_NONCE_LEN);
562 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
569 sm->snonce, WPA_NONCE_LEN);
615 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN);
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
mesh_rsn.c 442 u8 context[2 * WPA_NONCE_LEN + 2 * 2 + RSN_SELECTOR_LEN + 2 * ETH_ALEN];
451 if (os_memcmp(sta->my_nonce, sta->peer_nonce, WPA_NONCE_LEN) < 0) {
458 os_memcpy(ptr, min, WPA_NONCE_LEN);
459 ptr += WPA_NONCE_LEN;
460 os_memcpy(ptr, max, WPA_NONCE_LEN);
461 ptr += WPA_NONCE_LEN;
500 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) {
504 os_memset(sta->peer_nonce, 0, WPA_NONCE_LEN);
552 os_memcpy(ampe->local_nonce, sta->my_nonce, WPA_NONCE_LEN);
553 os_memcpy(ampe->peer_nonce, sta->peer_nonce, WPA_NONCE_LEN);
    [all...]
  /external/syslinux/gpxe/src/net/80211/
wpa.c 319 u8 nonce1[WPA_NONCE_LEN];
320 u8 nonce2[WPA_NONCE_LEN];
334 if ( memcmp ( ctx->Anonce, ctx->Snonce, WPA_NONCE_LEN ) < 0 ) {
335 memcpy ( ptk_data.nonce1, ctx->Anonce, WPA_NONCE_LEN );
336 memcpy ( ptk_data.nonce2, ctx->Snonce, WPA_NONCE_LEN );
338 memcpy ( ptk_data.nonce1, ctx->Snonce, WPA_NONCE_LEN );
339 memcpy ( ptk_data.nonce2, ctx->Anonce, WPA_NONCE_LEN );
345 DBGC2_HD ( ctx, ptk_data.nonce1, WPA_NONCE_LEN );
346 DBGC2_HD ( ctx, ptk_data.nonce2, WPA_NONCE_LEN );
656 if ( memcmp ( ctx->Anonce, pkt->nonce, WPA_NONCE_LEN ) != 0 )
    [all...]
  /external/wpa_supplicant_8/src/common/
wpa_common.c 170 u8 data[2 * ETH_ALEN + 2 * WPA_NONCE_LEN];
182 if (os_memcmp(nonce1, nonce2, WPA_NONCE_LEN) < 0) {
183 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN);
184 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2,
185 WPA_NONCE_LEN);
187 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN);
188 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce1,
189 WPA_NONCE_LEN);
213 wpa_hexdump(MSG_DEBUG, "WPA: Nonce1", nonce1, WPA_NONCE_LEN);
214 wpa_hexdump(MSG_DEBUG, "WPA: Nonce2", nonce2, WPA_NONCE_LEN);
    [all...]
wpa_common.h 18 #define WPA_NONCE_LEN 32
188 u8 key_nonce[WPA_NONCE_LEN];
311 u8 anonce[WPA_NONCE_LEN];
312 u8 snonce[WPA_NONCE_LEN];

Completed in 204 milliseconds