Searched refs:copy_len (Results 1 – 4 of 4) sorted by relevance
/hostap-latest/src/utils/ |
D | os_unix.c | 748 size_t copy_len; in os_realloc() local 765 copy_len = a->len; in os_realloc() 766 if (copy_len > size) in os_realloc() 767 copy_len = size; in os_realloc() 768 os_memcpy(n, a + 1, copy_len); in os_realloc()
|
/hostap-latest/src/eap_common/ |
D | eap_teap_common.c | 207 size_t copy_len = msk_len; in eap_teap_derive_imck() local 210 if (copy_len > 32) in eap_teap_derive_imck() 211 copy_len = 32; in eap_teap_derive_imck() 212 os_memcpy(imsk, msk, copy_len); in eap_teap_derive_imck()
|
/hostap-latest/src/pasn/ |
D | pasn_responder.c | 925 size_t copy_len, mic_offset; in handle_auth_pasn_3() local 967 copy_len = len - offsetof(struct ieee80211_mgmt, u.auth); in handle_auth_pasn_3() 969 copy_len = len - offsetof(struct ieee80211_mgmt, u.auth); in handle_auth_pasn_3() 970 if (mic_offset + mic_len > copy_len) in handle_auth_pasn_3() 972 copy = os_memdup(&mgmt->u.auth, copy_len); in handle_auth_pasn_3() 979 copy, copy_len, out_mic); in handle_auth_pasn_3()
|
D | pasn_initiator.c | 1073 size_t mic_offset, copy_len; in wpa_pasn_auth_rx() local 1260 copy_len = len - offsetof(struct ieee80211_mgmt, u.auth); in wpa_pasn_auth_rx() 1261 if (mic_offset + mic_len > copy_len) in wpa_pasn_auth_rx() 1263 copy = os_memdup(&mgmt->u.auth, copy_len); in wpa_pasn_auth_rx() 1274 copy, copy_len, out_mic); in wpa_pasn_auth_rx() 1309 copy, copy_len, out_mic); in wpa_pasn_auth_rx()
|