mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 09:42:26 -05:00
[chore]: Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3080)
This commit is contained in:
parent
1a66ea8998
commit
a81455e81c
32 changed files with 91 additions and 1420 deletions
8
vendor/golang.org/x/crypto/sha3/hashes.go
generated
vendored
8
vendor/golang.org/x/crypto/sha3/hashes.go
generated
vendored
|
|
@ -9,6 +9,7 @@ package sha3
|
|||
// bytes.
|
||||
|
||||
import (
|
||||
"crypto"
|
||||
"hash"
|
||||
)
|
||||
|
||||
|
|
@ -40,6 +41,13 @@ func New512() hash.Hash {
|
|||
return new512()
|
||||
}
|
||||
|
||||
func init() {
|
||||
crypto.RegisterHash(crypto.SHA3_224, New224)
|
||||
crypto.RegisterHash(crypto.SHA3_256, New256)
|
||||
crypto.RegisterHash(crypto.SHA3_384, New384)
|
||||
crypto.RegisterHash(crypto.SHA3_512, New512)
|
||||
}
|
||||
|
||||
func new224Generic() *state {
|
||||
return &state{rate: 144, outputLen: 28, dsbyte: 0x06}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue