package check
Import Path
crypto/internal/fips140/check (on go.dev)
Dependency Relation
imports 7 packages, and imported by 20 packages
Involved Source Files
Package check implements the FIPS-140 load-time code+data verification.
Every FIPS package providing cryptographic functionality except hmac and sha256
must import crypto/internal/fips140/check, so that the verification happens
before initialization of package global variables.
The hmac and sha256 packages are used by this package, so they cannot import it.
Instead, those packages must be careful not to change global variables during init.
(If necessary, we could have check call a PostCheck function in those packages
after the check has completed.)
noasan.go
Package-Level Functions (total 2)
Enabled reports whether verification was enabled.
If Enabled returns true, then verification succeeded,
because if it failed the binary would have panicked at init time.
Supported reports whether the current GOOS/GOARCH is Supported at all.
The pages are generated with Golds v0.7.3-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |