From 7c636ded82da73ec58cc4718fb663eccae1dee0a Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Wed, 23 Sep 2020 19:54:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9D=97):=20?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=A8=A1=E5=9D=97=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 6 +++--- go.sum | 4 ++-- vendor/golang.org/x/crypto/sha3/xor_unaligned.go | 9 --------- vendor/modules.txt | 2 +- 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 63bd9fb..c234fb9 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module ihash +module github.com/xiaoqidun/ihash -go 1.14 +go 1.15 -require golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de +require golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a diff --git a/go.sum b/go.sum index b1681a5..8d6f332 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de h1:ikNHVSjEfnvz6sxdSPCaPt572qowuyMDMJLLm3Db3ig= -golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a h1:vclmkQCjlDX5OydZ9wv8rBCcS0QyQY66Mpf/7BZbInM= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI= diff --git a/vendor/golang.org/x/crypto/sha3/xor_unaligned.go b/vendor/golang.org/x/crypto/sha3/xor_unaligned.go index 5ede2c6..5f19cdf 100644 --- a/vendor/golang.org/x/crypto/sha3/xor_unaligned.go +++ b/vendor/golang.org/x/crypto/sha3/xor_unaligned.go @@ -16,15 +16,6 @@ func (b *storageBuf) asBytes() *[maxRate]byte { return (*[maxRate]byte)(unsafe.Pointer(b)) } -//go:nocheckptr -// -// xorInUnaligned intentionally reads the input buffer as an unaligned slice of -// integers. The language spec is not clear on whether that is allowed. -// See: -// https://golang.org/issue/37644 -// https://golang.org/issue/37298 -// https://golang.org/issue/35381 - // xorInUnaligned uses unaligned reads and writes to update d.a to contain d.a // XOR buf. func xorInUnaligned(d *state, buf []byte) { diff --git a/vendor/modules.txt b/vendor/modules.txt index fd1b45d..d15222f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de +# golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a ## explicit golang.org/x/crypto/sha3 # golang.org/x/sys v0.0.0-20190412213103-97732733099d