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>
2021-07-20 11:03:25 -07:00
..
bench wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
filter wgengine/filter: add a debug flag for filter logs (#2241) 2021-06-25 10:10:26 -04:00
magicsock cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
monitor wgengine/monitor: don't spam about Linux RTM_NEWRULE events 2021-07-19 14:30:15 -07:00
netstack wgengine/netstack: make SOCKS5 resolve names to IPv6 if self node when no IPv4 2021-06-28 15:20:37 -07:00
router wgengine/router_windows: support toggling local lan access when using 2021-06-29 09:22:10 -07:00
wgcfg wgcfg: Switch to using mem.RO 2021-07-13 13:45:44 -07:00
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 2021-06-04 13:06:28 -07:00
winnet wgengine/winnet: don't build on non-windows 2021-02-09 21:09:24 -08:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go cmd/tailscale, wgengine, tailcfg: don't assume LastSeen is present [mapver 20] 2021-06-11 08:41:16 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
userspace.go util/deephash: make hash type opaque 2021-07-20 11:03:25 -07:00
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 2021-03-27 09:27:11 -07:00
watchdog.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
wgengine.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00