Skip to content

ts_noise: factor out Noise implementation#186

Open
danderson wants to merge 3 commits into
mainfrom
push-tqznrnywrrvw
Open

ts_noise: factor out Noise implementation#186
danderson wants to merge 3 commits into
mainfrom
push-tqznrnywrrvw

Conversation

@danderson
Copy link
Copy Markdown
Member

To enable both ts_tunnel and ts_control_noise to use the same underlying crypto primitives when possible.

@danderson danderson force-pushed the push-tqznrnywrrvw branch 2 times, most recently from 300531e to 2ffc9ba Compare May 26, 2026 23:07
@danderson danderson force-pushed the push-tqznrnywrrvw branch from 2ffc9ba to b62ef30 Compare June 3, 2026 01:50
danderson added 3 commits June 2, 2026 19:17
Also switch to use aws-lc-rs. We already have to pull in aws-lc-rs
for rustls, so avoid using rustcrypto as well for binary size.

Signed-off-by: David Anderson <danderson@tailscale.com>
Change-Id: I690c8c138843750e0486ff9b1cf36df26a6a6964
Signed-off-by: David Anderson <danderson@tailscale.com>
Change-Id: Id81c21d18d19205b249d89d477a3d9a96a6a6964
Signed-off-by: David Anderson <danderson@tailscale.com>
Change-Id: Iffa6cb966097979b738ae22a946ac2aa6a6a6964
@danderson danderson force-pushed the push-tqznrnywrrvw branch from b62ef30 to c056f38 Compare June 3, 2026 02:18
@danderson
Copy link
Copy Markdown
Member Author

I think this is ready. There's probably some cleanups possible in how ts_tunnel and ts_control_noise use the common noise impls, but this was the minimally-ish invasive change needed to make the refactor happen. All tests pass of course, and also verified that examples/tcp_echo still works from a tailscale-go peer, which gives a proof that both the control protocol and wireguard work sufficiently to enable communication.

@danderson danderson marked this pull request as ready for review June 3, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant