summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/blake2s/register.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-08 07:33:11 +0000
committerLibravatar GitHub <noreply@github.com>2024-07-08 07:33:11 +0000
commita81455e81c02d5c69b723b52c775a247313c82a2 (patch)
tree942e036c28e3f21edf43b2f8c467eeacc8bf6795 /vendor/golang.org/x/crypto/blake2s/register.go
parent[chore] upstep activity to v1.7.0-gts (#3074) (diff)
downloadgotosocial-a81455e81c02d5c69b723b52c775a247313c82a2.tar.xz
[chore]: Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3080)
Diffstat (limited to 'vendor/golang.org/x/crypto/blake2s/register.go')
-rw-r--r--vendor/golang.org/x/crypto/blake2s/register.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/golang.org/x/crypto/blake2s/register.go b/vendor/golang.org/x/crypto/blake2s/register.go
deleted file mode 100644
index 3156148a4..000000000
--- a/vendor/golang.org/x/crypto/blake2s/register.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2017 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.9
-
-package blake2s
-
-import (
- "crypto"
- "hash"
-)
-
-func init() {
- newHash256 := func() hash.Hash {
- h, _ := New256(nil)
- return h
- }
-
- crypto.RegisterHash(crypto.BLAKE2s_256, newHash256)
-}