Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_write.c244 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_anon_dh() local
246 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
247 csecret = os_malloc(csecret_len); in tlsv1_key_x_anon_dh()
255 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_anon_dh()
264 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_anon_dh()
268 while (csecret_len > 1 && *csecret_start == 0) { in tlsv1_key_x_anon_dh()
270 csecret_len--; in tlsv1_key_x_anon_dh()
273 csecret_start, csecret_len); in tlsv1_key_x_anon_dh()
287 csecret_start, csecret_len, in tlsv1_key_x_anon_dh()
328 csecret_start, csecret_len, in tlsv1_key_x_anon_dh()
[all …]