Searched refs:dh_secret_len (Results 1 – 4 of 4) sorted by relevance
280 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()
57 size_t dh_secret_len; member
656 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()
394 conn->dh_secret_len = 0; in tlsv1_server_clear_data()