Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c404 conn->dh_secret_len = dh_p_len; in tls_write_server_key_exchange()
405 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange()
413 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) { in tls_write_server_key_exchange()
423 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0) in tls_write_server_key_exchange()
427 while (pos + 1 < conn->dh_secret + conn->dh_secret_len && *pos == 0) in tls_write_server_key_exchange()
431 conn->dh_secret_len - (pos - conn->dh_secret)); in tls_write_server_key_exchange()
432 conn->dh_secret_len -= pos - conn->dh_secret; in tls_write_server_key_exchange()
435 conn->dh_secret, conn->dh_secret_len); in tls_write_server_key_exchange()
448 conn->dh_secret, conn->dh_secret_len, in tls_write_server_key_exchange()
Dtlsv1_server_i.h63 size_t dh_secret_len; member
Dtlsv1_server_read.c748 conn->dh_secret_len, dh_p, dh_p_len, in tls_process_client_key_exchange_dh()
758 os_memset(conn->dh_secret, 0, conn->dh_secret_len); in tls_process_client_key_exchange_dh()
Dtlsv1_server.c432 conn->dh_secret_len = 0; in tlsv1_server_clear_data()