check

Imports

Imports #

"crypto/internal/fips140"
"crypto/internal/fips140/hmac"
"crypto/internal/fips140/sha256"
"crypto/internal/fips140deps/byteorder"
"crypto/internal/fips140deps/godebug"
"io"
"unsafe"

Constants & Variables

Linkinfo var #

Linkinfo holds the go:fipsinfo symbol prepared by the linker. See cmd/link/internal/ld/fips.go for details. go:linkname Linkinfo go:fipsinfo

var Linkinfo struct{...}

Verified var #

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

fipsMagic const #

"\xff"+fipsMagic is the expected linkinfo.Magic. We avoid writing that explicitly so that the string does not appear elsewhere in normal binaries, just as a precaution.

const fipsMagic = " Go fipsinfo \xff\x00"

zeroSum var #

var zeroSum [32]byte

Functions

init function #

func init()

Generated with Arrow