Linkinfo holds the go:fipsinfo symbol prepared by the linker. See cmd/link/internal/ld/fips.go for details.
var Linkinfo struct { Magic [16]byte Sum [32]byte Self uintptr Sects [4]struct { // Note: These must be unsafe.Pointer, not uintptr, // or else checkptr panics about turning uintptrs // into pointers into the data segment during // go test -race. Start unsafe.Pointer End unsafe.Pointer } }
Verified is set when verification succeeded. It can be expected to always be true when fips140.Enabled is true, or init would have panicked.
var Verified bool
Name | Synopsis |
---|---|
.. |