Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_server_write.c280 conn->dh_secret_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
281 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange()
289 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) { in tls_write_server_key_exchange()
299 if (os_memcmp(conn->dh_secret, conn->cred->dh_p, conn->dh_secret_len) > in tls_write_server_key_exchange()
304 while (pos + 1 < conn->dh_secret + conn->dh_secret_len && *pos == 0) in tls_write_server_key_exchange()
308 conn->dh_secret_len - (pos - conn->dh_secret)); in tls_write_server_key_exchange()
309 conn->dh_secret_len -= pos - conn->dh_secret; in tls_write_server_key_exchange()
312 conn->dh_secret, conn->dh_secret_len); in tls_write_server_key_exchange()
325 conn->dh_secret, conn->dh_secret_len, in tls_write_server_key_exchange()
Dtlsv1_server_i.h57 size_t dh_secret_len; member
Dtlsv1_server_read.c656 conn->dh_secret_len, in tls_process_client_key_exchange_dh_anon()
668 os_memset(conn->dh_secret, 0, conn->dh_secret_len); in tls_process_client_key_exchange_dh_anon()
Dtlsv1_server.c394 conn->dh_secret_len = 0; in tlsv1_server_clear_data()