Home
last modified time | relevance | path

Searched refs:ml_len (Results 1 – 4 of 4) sorted by relevance

/src/contrib/wpa/src/ap/
H A Dieee802_11_eht.c1079 size_t ml_len, common_info_len; in hostapd_process_ml_assoc_req_addr() local
1087 ml_len = wpabuf_len(mlbuf); in hostapd_process_ml_assoc_req_addr()
1089 if (ml_len < sizeof(*ml)) in hostapd_process_ml_assoc_req_addr()
1126 if (sizeof(*ml) + common_info_len > ml_len) { in hostapd_process_ml_assoc_req_addr()
1157 size_t ml_len, common_info_len; in hostapd_process_ml_assoc_req() local
1169 ml_len = wpabuf_len(mlbuf); in hostapd_process_ml_assoc_req()
1214 if (sizeof(*ml) + common_info_len > ml_len) { in hostapd_process_ml_assoc_req()
1259 ml_len -= sizeof(*ml) + common_info_len; in hostapd_process_ml_assoc_req()
1261 while (ml_len > 2) { in hostapd_process_ml_assoc_req()
1269 if (2 + sub_elem_len > ml_len) { in hostapd_process_ml_assoc_req()
[all …]
H A Dbeacon.c1258 static bool parse_ml_probe_req(const struct ieee80211_eht_ml *ml, size_t ml_len, in parse_ml_probe_req() argument
1269 if (ml_len < sizeof(struct ieee80211_eht_ml)) in parse_ml_probe_req()
1279 if (sizeof(struct ieee80211_eht_ml) + 1 > ml_len) { in parse_ml_probe_req()
1286 if (len < 1 || sizeof(struct ieee80211_eht_ml) + len > ml_len) { in parse_ml_probe_req()
1304 len = ml_len - len - sizeof(struct ieee80211_eht_ml); in parse_ml_probe_req()
/src/crypto/openssl/crypto/slh_dsa/
H A Dslh_hash.c125 const uint8_t *ml, size_t ml_len, uint8_t *out, size_t out_len) in slh_t_shake() argument
130 return xof_digest_3(ctx->md_ctx, pk_seed, n, adrs, SLH_ADRS_SIZE, ml, ml_len, out, n); in slh_t_shake()
261 const uint8_t *ml, size_t ml_len, uint8_t *out, size_t out_len) in slh_t_sha2() argument
265 return do_hash(hctx->md_big_ctx, prms->n, pk_seed, adrs, ml, ml_len, in slh_t_sha2()
/src/contrib/wpa/wpa_supplicant/
H A Devents.c3784 size_t ml_len; in wpas_ml_parse_assoc() local
3804 ml_len = wpabuf_len(mlbuf); in wpas_ml_parse_assoc()
3805 if (ml_len < sizeof(*ml)) in wpas_ml_parse_assoc()
3840 if (sizeof(*ml) + expected_common_info_len > ml_len) { in wpas_ml_parse_assoc()
3843 ml_len); in wpas_ml_parse_assoc()
3894 ml_len -= sizeof(*ml) + common_info->len; in wpas_ml_parse_assoc()
3895 while (ml_len > 2 && i < MAX_NUM_MLD_LINKS) { in wpas_ml_parse_assoc()
3904 if (sub_elem_len > ml_len - 2) { in wpas_ml_parse_assoc()
3907 2 + sub_elem_len, ml_len); in wpas_ml_parse_assoc()
3920 ml_len -= 2 + sub_elem_len; in wpas_ml_parse_assoc()
[all …]