/hostap-latest/src/common/ |
D | gas.c | 220 size_t offset; in gas_anqp_set_len() local 229 offset = 3 + 4; in gas_anqp_set_len() 232 offset = 7 + 4; in gas_anqp_set_len() 235 offset = 8 + 4; in gas_anqp_set_len() 241 if (wpabuf_len(buf) < offset + 2) in gas_anqp_set_len() 244 len = wpabuf_mhead_u8(buf) + offset; in gas_anqp_set_len()
|
D | gas_server.c | 38 size_t offset; member 68 (unsigned long) response->offset, in gas_server_response_timeout() 154 response->offset = resp_frag_len; in gas_server_send_resp() 302 remaining = wpabuf_len(response->resp) - response->offset; in gas_server_handle_rx_comeback_req() 332 wpabuf_put_data(resp, wpabuf_head_u8(response->resp) + response->offset, in gas_server_handle_rx_comeback_req() 335 response->offset += resp_frag_len; in gas_server_handle_rx_comeback_req() 421 response->offset < wpabuf_len(response->resp)) { in gas_server_handle_tx_status() 543 tmp->offset == wpabuf_len(tmp->resp); in gas_server_response_sent()
|
D | wpa_common.c | 679 size_t offset; in fils_pmk_to_ptk() local 768 offset = *ick_len; in fils_pmk_to_ptk() 771 os_memcpy(ptk->kek, tmp + offset, ptk->kek_len); in fils_pmk_to_ptk() 773 offset += ptk->kek_len; in fils_pmk_to_ptk() 775 os_memcpy(ptk->tk, tmp + offset, ptk->tk_len); in fils_pmk_to_ptk() 777 offset += ptk->tk_len; in fils_pmk_to_ptk() 780 os_memcpy(fils_ft, tmp + offset, *fils_ft_len); in fils_pmk_to_ptk() 783 offset += *fils_ft_len; in fils_pmk_to_ptk() 787 os_memcpy(ptk->kdk, tmp + offset, ptk->kdk_len); in fils_pmk_to_ptk() 2439 size_t ptk_len, offset; in wpa_pmk_r1_to_ptk() local [all …]
|
/hostap-latest/src/drivers/ |
D | driver_macsec_qca.c | 706 entry.offset = conf_offset; in macsec_qca_create_receive_sc() 763 u32 offset; in macsec_qca_create_receive_sa() local 787 offset = 0; in macsec_qca_create_receive_sa() 789 offset = 30; in macsec_qca_create_receive_sa() 791 offset = 50; in macsec_qca_create_receive_sa() 795 entry.offset = offset; in macsec_qca_create_receive_sa() 942 u32 offset; in macsec_qca_create_transmit_sa() local 977 offset = 0; in macsec_qca_create_transmit_sa() 979 offset = 30; in macsec_qca_create_transmit_sa() 981 offset = 50; in macsec_qca_create_transmit_sa() [all …]
|
D | nl80211_copy.h | 5725 __u32 start, offset, len; member 5736 __u32 offset, len; member
|
/hostap-latest/src/crypto/ |
D | ms_funcs.c | 435 size_t ucs2_len, offset; in encrypt_pw_block_with_password_hash() local 444 offset = (256 - ucs2_len) * 2; in encrypt_pw_block_with_password_hash() 445 if (offset != 0) { in encrypt_pw_block_with_password_hash() 446 os_memmove(pw_block + offset, pw_block, ucs2_len * 2); in encrypt_pw_block_with_password_hash() 447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash()
|
D | crypto_wolfssl.c | 1377 int num_bytes, offset; in crypto_bignum_to_bin() local 1389 offset = padlen - num_bytes; in crypto_bignum_to_bin() 1391 offset = 0; in crypto_bignum_to_bin() 1393 os_memset(buf, 0, offset); in crypto_bignum_to_bin() 1394 mp_to_unsigned_bin((mp_int *) a, buf + offset); in crypto_bignum_to_bin() 1396 return num_bytes + offset; in crypto_bignum_to_bin()
|
D | crypto_openssl.c | 1948 int num_bytes, offset; in crypto_bignum_to_bin() local 1972 offset = padlen - num_bytes; in crypto_bignum_to_bin() 1974 offset = 0; in crypto_bignum_to_bin() 1976 os_memset(buf, 0, offset); in crypto_bignum_to_bin() 1977 BN_bn2bin((const BIGNUM *) a, buf + offset); in crypto_bignum_to_bin() 1979 return num_bytes + offset; in crypto_bignum_to_bin()
|
/hostap-latest/src/eap_peer/ |
D | eap_ikev2.c | 486 size_t offset; in eap_ikev2_get_session_id() local 494 offset = 0; in eap_ikev2_get_session_id() 495 sid[offset] = EAP_TYPE_IKEV2; in eap_ikev2_get_session_id() 496 offset++; in eap_ikev2_get_session_id() 497 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id() 499 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id() 500 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/hostap-latest/src/eap_server/ |
D | eap_server_ikev2.c | 524 size_t offset; in eap_ikev2_get_session_id() local 532 offset = 0; in eap_ikev2_get_session_id() 533 sid[offset] = EAP_TYPE_IKEV2; in eap_ikev2_get_session_id() 534 offset++; in eap_ikev2_get_session_id() 535 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id() 537 offset += data->ikev2.i_nonce_len; in eap_ikev2_get_session_id() 538 os_memcpy(sid + offset, data->ikev2.r_nonce, in eap_ikev2_get_session_id()
|
/hostap-latest/tests/ |
D | test-rc4.c | 205 const u8 *stream, int offset) in run_test() argument 209 if (rc4_skip(key, key_len, offset, res, sizeof(res)) < 0 || in run_test() 212 i + 1, offset); in run_test()
|
/hostap-latest/tests/hwsim/ |
D | test_ap_acs.py | 796 offset = int(hapd.get_status_field("eht_bw320_offset")) 800 if offset != 1 and offset != 2: 801 raise Exception("Unexpected eht_bw320_offset: %d" % offset) 805 if offset != 1: 806 raise Exception("Unexpected eht_bw320_offset: %d" % offset) 810 if offset != 2: 811 raise Exception("Unexpected eht_bw320_offset: %d" % offset)
|
/hostap-latest/wpadebug/src/w1/fi/wpadebug/ |
D | QrCodeDisplayActivity.java | 78 int offset = y * width; in encodeAsBitmap() local 80 pixels[offset + x] = result.get(x, y) ? BLACK : WHITE; in encodeAsBitmap()
|
/hostap-latest/wpa_supplicant/ |
D | p2p_supplicant_sd.c | 47 u16 offset; in p2p_sd_dns_uncompress_label() local 57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1]; in p2p_sd_dns_uncompress_label() 58 if (offset >= *spos - start) { in p2p_sd_dns_uncompress_label() 60 "pointer offset %u", offset); in p2p_sd_dns_uncompress_label() 65 spos_tmp = start + offset; in p2p_sd_dns_uncompress_label() 103 size_t msg_len, size_t offset) in p2p_sd_dns_uncompress() argument 114 if (offset > msg_len) in p2p_sd_dns_uncompress() 122 spos += offset; in p2p_sd_dns_uncompress()
|
D | hs20_supplicant.c | 338 const char *file_name, size_t offset, size_t size, in hs20_get_icon() argument 348 MAC2STR(bssid), file_name, (unsigned int) offset, in hs20_get_icon() 352 if (!icon || !icon->image || offset >= icon->image_len) in hs20_get_icon() 354 if (size > icon->image_len - offset) in hs20_get_icon() 355 size = icon->image_len - offset; in hs20_get_icon() 362 b64 = hostap_base64_encode(&icon->image[offset], size, &b64_size); in hs20_get_icon()
|
D | hs20_supplicant.h | 46 const char *file_name, size_t offset, size_t size,
|
D | ap.h | 76 int offset, int width, int cf1, int cf2,
|
D | config.c | 4754 int (*get)(const char *name, struct wpa_config *config, long offset, 5302 long offset, char *buf, size_t buflen, in wpa_config_get_int() argument 5305 int *val = (int *) (((u8 *) config) + (long) offset); in wpa_config_get_int() 5314 long offset, char *buf, size_t buflen, in wpa_config_get_str() argument 5317 char **val = (char **) (((u8 *) config) + (long) offset); in wpa_config_get_str() 5336 long offset, char *buf, size_t buflen, in wpa_config_get_ipv4() argument 5339 void *val = ((u8 *) config) + (long) offset; in wpa_config_get_ipv4()
|
/hostap-latest/src/pae/ |
D | ieee802_1x_cp.h | 29 void ieee802_1x_cp_set_offset(void *cp_ctx, enum confidentiality_offset offset);
|
D | ieee802_1x_cp.c | 625 void ieee802_1x_cp_set_offset(void *cp_ctx, enum confidentiality_offset offset) in ieee802_1x_cp_set_offset() argument 628 sm->cipher_offset = offset; in ieee802_1x_cp_set_offset()
|
/hostap-latest/wlantest/ |
D | rx_mgmt.c | 407 size_t offset; in rx_mgmt_beacon() local 413 offset = mgmt->u.beacon.variable - data; in rx_mgmt_beacon() 414 if (len < offset) in rx_mgmt_beacon() 422 if (ieee802_11_parse_elems(mgmt->u.beacon.variable, len - offset, in rx_mgmt_beacon() 574 mme = get_ie(mgmt->u.beacon.variable, len - offset, WLAN_EID_MMIE); in rx_mgmt_beacon() 639 size_t offset; in rx_mgmt_probe_resp() local 642 offset = mgmt->u.probe_resp.variable - data; in rx_mgmt_probe_resp() 643 if (len < offset) in rx_mgmt_probe_resp() 651 if (ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - offset, in rx_mgmt_probe_resp()
|
/hostap-latest/wpa_supplicant/examples/ |
D | dpp-nfc.py | 562 for offset in range(0, len(resp), send_miu): 563 if not socket.send(resp[offset:offset + send_miu]):
|
/hostap-latest/src/ap/ |
D | drv_callbacks.c | 1125 int offset, int width, int cf1, int cf2, in hostapd_event_ch_switch() argument 1140 hapd->iconf->ch_switch_eht_config, offset, in hostapd_event_ch_switch() 1264 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch() 1265 if (ieee80211_freq_to_channel_ext(freq, offset, chwidth, in hostapd_event_ch_switch() 1294 freq, ht, offset, channel_width_to_string(width), in hostapd_event_ch_switch()
|
D | hostapd.h | 798 int offset, int width, int cf1, int cf2,
|
/hostap-latest/src/radius/ |
D | radius_server.c | 2156 int offset = mask / 8; in radius_server_read_clients() local 2159 os_memset(entry->mask6.s6_addr, 0xff, offset); in radius_server_read_clients() 2163 if (offset < 16) in radius_server_read_clients() 2164 entry->mask6.s6_addr[offset] = val; in radius_server_read_clients()
|