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/util
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
..
cibuild wgengine/magicsock: increase legacy ping timeout again 4 years ago
cmpver util/cmpver: move into OSS from corp repo. 4 years ago
deephash util/deephash: make hash type opaque 3 years ago
dnsname util/dnsname: make ToFQDN take exactly 0 or 1 allocs for everything. 4 years ago
endian util/endian: add Native variable to get the platform's native binary.ByteOrder 4 years ago
groupmember cmd/tailscale/web: add support for QNAP 3 years ago
jsonutil util/jsonutil: new package 4 years ago
lineread util/lineread: add docs to Reader 4 years ago
osshare ipn/ipnlocal: add file sharing to windows shell 4 years ago
pidowner util/pidowner: add missing copyright header 4 years ago
racebuild util/racebuild: add package to export a race-is-enabled const 4 years ago
systemd util/systemd: explicitly check for os.ErrNotExist from sdnotify 4 years ago
uniq util/uniq: add new package 4 years ago
winutil net/dns: do not run wsl.exe as LocalSystem 3 years ago