net: build_ehash_secret() and rt_bind_peer() cleanups