summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-01-03 10:02:49 +0000
committerLibravatar GitHub <noreply@github.com>2024-01-03 10:02:49 +0000
commit0e56867d8bfcbffff95fc0db8f2e4ec4d4ab81ef (patch)
tree8e2c9d8c1b4a8fc222dc41674891cda7890b1abe /vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go
parent[chore]: Bump modernc.org/sqlite from 1.27.0 to 1.28.0 (#2470) (diff)
downloadgotosocial-0e56867d8bfcbffff95fc0db8f2e4ec4d4ab81ef.tar.xz
[chore]: Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#2478)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go')
-rw-r--r--vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go b/vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go
deleted file mode 100644
index 1d0770abb..000000000
--- a/vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-//go:build !go1.7 && amd64 && gc && !purego
-
-package blake2b
-
-import "golang.org/x/sys/cpu"
-
-func init() {
- useSSE4 = cpu.X86.HasSSE41
-}
-
-//go:noescape
-func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte)
-
-func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) {
- if useSSE4 {
- hashBlocksSSE4(h, c, flag, blocks)
- } else {
- hashBlocksGeneric(h, c, flag, blocks)
- }
-}