Searched refs:dh_secret_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server_write.c | 407 conn->dh_secret_len = dh_p_len; in tls_write_server_key_exchange() 408 conn->dh_secret = os_malloc(conn->dh_secret_len); in tls_write_server_key_exchange() 416 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) { in tls_write_server_key_exchange() 426 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0) in tls_write_server_key_exchange() 430 while (pos + 1 < conn->dh_secret + conn->dh_secret_len && *pos == 0) in tls_write_server_key_exchange() 434 conn->dh_secret_len - (pos - conn->dh_secret)); in tls_write_server_key_exchange() 435 conn->dh_secret_len -= pos - conn->dh_secret; in tls_write_server_key_exchange() 438 conn->dh_secret, conn->dh_secret_len); in tls_write_server_key_exchange() 451 conn->dh_secret, conn->dh_secret_len, in tls_write_server_key_exchange()
|
D | tlsv1_server_i.h | 65 size_t dh_secret_len; member
|
D | tlsv1_server_read.c | 776 conn->dh_secret_len, dh_p, dh_p_len, in tls_process_client_key_exchange_dh() 786 os_memset(conn->dh_secret, 0, conn->dh_secret_len); in tls_process_client_key_exchange_dh()
|
D | tlsv1_server.c | 435 conn->dh_secret_len = 0; in tlsv1_server_clear_data()
|