[chore]: Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3080)

This commit is contained in:
dependabot[bot] 2024-07-08 07:33:11 +00:00 committed by GitHub
commit a81455e81c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 91 additions and 1420 deletions

View file

@ -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}
}