mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: typo in FIPS sha256 (#15024)
This commit is contained in:
parent
f7cecf0945
commit
be6ccd129d
@ -21,7 +21,7 @@
|
||||
package sha256
|
||||
|
||||
import (
|
||||
fipsha256 "crypto/sha256"
|
||||
fipssha256 "crypto/sha256"
|
||||
"hash"
|
||||
)
|
||||
|
||||
@ -29,7 +29,7 @@ import (
|
||||
// The SHA256 implementation is FIPS 140-2 compliant when the
|
||||
// boringcrypto branch of Go is used.
|
||||
// Ref: https://github.com/golang/go/tree/dev.boringcrypto
|
||||
func New() hash.Hash { return fipsha256.New() }
|
||||
func New() hash.Hash { return fipssha256.New() }
|
||||
|
||||
// Sum256 returns the SHA256 checksum of the data.
|
||||
func Sum256(data []byte) [fipssha256.Size]byte { return fipssha256.Sum256(data) }
|
||||
|
Loading…
Reference in New Issue
Block a user