open-vault/helper/constants
Alexander Scheel f6712ca417
Introduce fips build tag (#14495)
Unlike fips_140_3, fips will be a (FIPS) version-agnostic build tag.
The listener support will remain in 140-3 only, but the IsFIPS() check
should apply regardless of FIPS version.

We add two FIPS-only build files which validate the constraints of FIPS
builds here: fips must be specified with either fips_140_2 or fips_140_3
build tags, and fips and cgo must also be specified together.
Additionally, using only a version-specific FIPS build tag without the
version-agnostic FIPS tag should be a failure.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-03-15 13:04:21 -04:00
..
constants_oss.go
fips.go Introduce fips build tag (#14495) 2022-03-15 13:04:21 -04:00
fips_build_check.go Introduce fips build tag (#14495) 2022-03-15 13:04:21 -04:00
fips_cgo_check.go Introduce fips build tag (#14495) 2022-03-15 13:04:21 -04:00