minio/pkg/fips
Andreas Auernhammer c03a06cca8
config: enforce AES-GCM in FIPS mode (#12265)
This commit enforces the usage of AES-256
for config and IAM data en/decryption in FIPS
mode.

Further, it improves the implementation of
`fips.Enabled` by making it a compile time
constant. Now, the compiler is able to evaluate
the any `if fips.Enabled { ... }` at compile time
and eliminate unused code.

Signed-off-by: Andreas Auernhammer <aead@mail.de>
2021-05-10 08:24:11 -07:00
..
api.go config: enforce AES-GCM in FIPS mode (#12265) 2021-05-10 08:24:11 -07:00
fips.go config: enforce AES-GCM in FIPS mode (#12265) 2021-05-10 08:24:11 -07:00
no_fips.go config: enforce AES-GCM in FIPS mode (#12265) 2021-05-10 08:24:11 -07:00