Skip to main content

Module fips

Module fips 

Source
Expand description

The FIPS checks: the module’s own mode, and a TLS configuration’s FIPS status.

Functions§

approval
This build’s module approval for alg, void (Unverified) unless the module reports FIPS mode now. This is the capability cell, as its source states it: the module’s security policy, or, with none published, one CAVP certificate (decision 0004), which never approves. assert_fips_client_config is the provider’s FIPS-mode classification, which mirrors rustls’s and can differ (for example, the hybrid key-exchange groups classify as FIPS while their approval here is Unverified).
approval_given
The pure decision behind approval: an approval is void unless the module is in FIPS mode.
assert_fips_client_config
Refuses a client configuration that rustls does not report as FIPS. A configuration that admits X25519 or ChaCha20, or TLS 1.2 without Extended Master Secret, is not FIPS.
assert_fips_module
Refuses unless the loaded AWS-LC module reports FIPS mode.
assert_fips_server_config
Refuses a server configuration that rustls does not report as FIPS.
certificate
The certificate of the module this build links.
fips_result
The pure decision behind assert_fips_module.
self_test
Re-runs the module’s known-answer self-tests (CASTs) on demand.