minio/pkg/event
Andreas Auernhammer c1a49be639
use crypto/sha256 for FIPS 140-2 compliance (#11623)
This commit replaces the usage of
github.com/minio/sha256-simd with crypto/sha256
of the standard library in all non-performance
critical paths.

This is necessary for FIPS 140-2 compliance which
requires that all crypto. primitives are implemented
by a FIPS-validated module.

Go can use the Google FIPS module. The boringcrypto
branch of the Go standard library uses the BoringSSL
FIPS module to implement crypto. primitives like AES
or SHA256.

We only keep github.com/minio/sha256-simd when computing
the content-SHA256 of an object. Therefore, this commit
relies on a build tag `fips`.

When MinIO is compiled without the `fips` flag it will
use github.com/minio/sha256-simd. When MinIO is compiled
with the fips flag (go build --tags "fips") then MinIO
uses crypto/sha256 to compute the content-SHA256.
2021-02-24 09:00:15 -08:00
..
target use crypto/sha256 for FIPS 140-2 compliance (#11623) 2021-02-24 09:00:15 -08:00
arn_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
arn.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
config_test.go Fix Retention, ObjectLock, LegalHold struct namespaces correctly. (#8909) 2020-01-30 09:58:05 +05:30
config.go fix: return Range errors after If-Matches (#10045) 2020-07-17 13:01:22 -07:00
errors.go re-implement data usage crawler to be more efficient (#9075) 2020-03-18 16:19:29 -07:00
event.go fix: reply back user-metadata in lower case form (#9697) 2020-05-25 16:51:32 -07:00
name_test.go Allow delete marker replication from replica (#11566) 2021-02-18 00:33:51 -08:00
name.go Allow delete marker replication from replica (#11566) 2021-02-18 00:33:51 -08:00
rules_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rules.go optimize Listen bucket notification implementation (#9444) 2020-04-27 06:25:05 -07:00
rulesmap_test.go Add support for object locking with legal hold. (#8634) 2020-01-16 15:41:56 -08:00
rulesmap.go optimize Listen bucket notification implementation (#9444) 2020-04-27 06:25:05 -07:00
targetid_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
targetid.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
targetidset_test.go optimize Listen bucket notification implementation (#9444) 2020-04-27 06:25:05 -07:00
targetidset.go optimize Listen bucket notification implementation (#9444) 2020-04-27 06:25:05 -07:00
targetlist_test.go optimize Listen bucket notification implementation (#9444) 2020-04-27 06:25:05 -07:00
targetlist.go remove safeMode behavior in startup (#10645) 2020-10-09 09:59:52 -07:00