summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2022-08-16 13:15:33 -0700
committerGitHub <noreply@github.com>2022-08-16 13:15:33 -0700
commit03f7e4e57735fd598c8e119e031369bfa69cee87 (patch)
tree0a2b5d82a80c53bba874b85c44e41662c202baa3
parentf061d20c9d310f9515b41a9f9008cf5a74a0b32d (diff)
downloadtailscale-03f7e4e57735fd598c8e119e031369bfa69cee87.tar.xz
tailscale-03f7e4e57735fd598c8e119e031369bfa69cee87.zip
util/hashx: move from sha256x (#5388)
-rw-r--r--cmd/tailscaled/depaware.txt2
-rw-r--r--util/deephash/deephash.go2
-rw-r--r--util/hashx/block512.go (renamed from util/sha256x/sha256.go)0
-rw-r--r--util/hashx/block512_test.go (renamed from util/sha256x/sha256_test.go)0
4 files changed, 2 insertions, 2 deletions
diff --git a/cmd/tailscaled/depaware.txt b/cmd/tailscaled/depaware.txt
index a2e9dae13..e035198df 100644
--- a/cmd/tailscaled/depaware.txt
+++ b/cmd/tailscaled/depaware.txt
@@ -273,13 +273,13 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
tailscale.com/util/dnsname from tailscale.com/hostinfo+
LW tailscale.com/util/endian from tailscale.com/net/dns+
tailscale.com/util/groupmember from tailscale.com/ipn/ipnserver
+ 💣 tailscale.com/util/hashx from tailscale.com/util/deephash
tailscale.com/util/lineread from tailscale.com/hostinfo+
tailscale.com/util/mak from tailscale.com/control/controlclient+
tailscale.com/util/multierr from tailscale.com/control/controlclient+
tailscale.com/util/osshare from tailscale.com/ipn/ipnlocal+
tailscale.com/util/pidowner from tailscale.com/ipn/ipnserver
tailscale.com/util/racebuild from tailscale.com/logpolicy
- 💣 tailscale.com/util/sha256x from tailscale.com/util/deephash
tailscale.com/util/singleflight from tailscale.com/control/controlclient+
L tailscale.com/util/strs from tailscale.com/hostinfo
tailscale.com/util/systemd from tailscale.com/control/controlclient+
diff --git a/util/deephash/deephash.go b/util/deephash/deephash.go
index 0d370dc2b..e652d2665 100644
--- a/util/deephash/deephash.go
+++ b/util/deephash/deephash.go
@@ -34,7 +34,7 @@ import (
"time"
"unsafe"
- hashx "tailscale.com/util/sha256x"
+ "tailscale.com/util/hashx"
)
// There is much overlap between the theory of serialization and hashing.
diff --git a/util/sha256x/sha256.go b/util/hashx/block512.go
index a4dc80c4a..a4dc80c4a 100644
--- a/util/sha256x/sha256.go
+++ b/util/hashx/block512.go
diff --git a/util/sha256x/sha256_test.go b/util/hashx/block512_test.go
index b0222d9e2..b0222d9e2 100644
--- a/util/sha256x/sha256_test.go
+++ b/util/hashx/block512_test.go