Home
last modified time | relevance | path

Searched refs:res_len (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.7.0/components/wpa_supplicant/src/utils/
Dcommon.c407 size_t wpa_merge_byte_arrays(u8 *res, size_t res_len, in wpa_merge_byte_arrays() argument
413 os_memset(res, 0, res_len); in wpa_merge_byte_arrays()
416 if (src1_len >= res_len) { in wpa_merge_byte_arrays()
417 os_memcpy(res, src1, res_len); in wpa_merge_byte_arrays()
418 return res_len; in wpa_merge_byte_arrays()
426 if (len + src2_len >= res_len) { in wpa_merge_byte_arrays()
427 os_memcpy(res + len, src2, res_len - len); in wpa_merge_byte_arrays()
428 return res_len; in wpa_merge_byte_arrays()
Dcommon.h414 size_t wpa_merge_byte_arrays(u8 *res, size_t res_len,
/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/
Dtls_internal.c490 size_t res_len, ad_len; in tls_connection_handshake2() local
500 &res_len, &ad, &ad_len, need_more_data); in tls_connection_handshake2()
503 out = wpabuf_alloc_ext_data(res, res_len); in tls_connection_handshake2()
533 size_t res_len; in tls_connection_server_handshake() local
543 wpabuf_len(in_data), &res_len); in tls_connection_server_handshake()
548 out = wpabuf_alloc_ext_data(res, res_len); in tls_connection_server_handshake()
/hal_espressif-3.7.0/components/wpa_supplicant/src/wps/
Dwps_common.c25 const char *label, u8 *res, size_t res_len) in wps_kdf() argument
34 WPA_PUT_BE32(key_bits, res_len * 8); in wps_kdf()
45 iter = (res_len + SHA256_MAC_LEN - 1) / SHA256_MAC_LEN; in wps_kdf()
47 left = res_len; in wps_kdf()
Dwps_i.h136 const char *label, u8 *res, size_t res_len);