You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
Joe Tsai 9a0c8bdd20 util/deephash: make hash type opaque
The fact that Hash returns a [sha256.Size]byte leaks details about
the underlying hash implementation. This could very well be any other
hashing algorithm with a possible different block size.

Abstract this implementation detail away by declaring an opaque type
that is comparable. While we are changing the signature of UpdateHash,
rename it to just Update to reduce stutter (e.g., deephash.Update).

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
3 years ago
..
bench wgengine: randomize client port if netmap says to 3 years ago
filter wgengine/filter: add a debug flag for filter logs (#2241) 3 years ago
magicsock cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
monitor wgengine/monitor: don't spam about Linux RTM_NEWRULE events 3 years ago
netstack wgengine/netstack: make SOCKS5 resolve names to IPv6 if self node when no IPv4 3 years ago
router wgengine/router_windows: support toggling local lan access when using 3 years ago
wgcfg wgcfg: Switch to using mem.RO 3 years ago
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 4 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go cmd/tailscale, wgengine, tailcfg: don't assume LastSeen is present [mapver 20] 4 years ago
userspace.go util/deephash: make hash type opaque 3 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go wgengine: randomize client port if netmap says to 3 years ago
watchdog.go wgengine: randomize client port if netmap says to 3 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 4 years ago
wgengine.go wgengine: randomize client port if netmap says to 3 years ago