summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/ssh/mac.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-07-10 12:43:32 +0100
committerLibravatar GitHub <noreply@github.com>2023-07-10 12:43:32 +0100
commit6de5ca46f80c4e0d5bfc2df42a8d6af3757a312b (patch)
tree52b87f98db9edbe56832a669a200ee0d7220e91c /vendor/golang.org/x/crypto/ssh/mac.go
parent[chore]: Bump golang.org/x/image from 0.8.0 to 0.9.0 (#1972) (diff)
downloadgotosocial-6de5ca46f80c4e0d5bfc2df42a8d6af3757a312b.tar.xz
[chore]: Bump golang.org/x/net from 0.11.0 to 0.12.0 (#1973)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/mac.go')
-rw-r--r--vendor/golang.org/x/crypto/ssh/mac.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/mac.go b/vendor/golang.org/x/crypto/ssh/mac.go
index 0a21af47e..06a1b2750 100644
--- a/vendor/golang.org/x/crypto/ssh/mac.go
+++ b/vendor/golang.org/x/crypto/ssh/mac.go
@@ -53,6 +53,9 @@ var macModes = map[string]*macMode{
"hmac-sha2-256-etm@openssh.com": {32, true, func(key []byte) hash.Hash {
return hmac.New(sha256.New, key)
}},
+ "hmac-sha2-512": {64, false, func(key []byte) hash.Hash {
+ return hmac.New(sha512.New, key)
+ }},
"hmac-sha2-256": {32, false, func(key []byte) hash.Hash {
return hmac.New(sha256.New, key)
}},