[tor-commits] [tor/master] Refactor parameter computation and add a helper function