Searched refs:WPA_NONCE_LEN (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_impl.h61 #define WPA_NONCE_LEN 32 macro
72 uint8_t key_nonce[WPA_NONCE_LEN];
175 uint8_t snonce[WPA_NONCE_LEN];
176 uint8_t anonce[WPA_NONCE_LEN];
H A Dwpa.c962 if (random_get_pseudo_bytes(wpa_s->snonce, WPA_NONCE_LEN)) {
971 wpa_s->snonce, WPA_NONCE_LEN);
973 (void) memcpy(reply->key_nonce, wpa_s->snonce, WPA_NONCE_LEN);
975 (void) memcpy(wpa_s->anonce, key->key_nonce, WPA_NONCE_LEN);
1177 if (memcmp(wpa_s->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) {
1231 (void) memcpy(reply->key_nonce, wpa_s->snonce, WPA_NONCE_LEN);

Completed in 62 milliseconds