awslc: say what FIPS mode does and does not claim
Refs: D-47
This commit is contained in:
parent
4fa2651fe4
commit
d0485e1531
|
|
@ -3,6 +3,12 @@
|
||||||
//! Only a build with the `fips` feature links AWS-LC-FIPS; every other build
|
//! Only a build with the `fips` feature links AWS-LC-FIPS; every other build
|
||||||
//! reports `false` without asking the library, so an open-source AWS-LC can
|
//! reports `false` without asking the library, so an open-source AWS-LC can
|
||||||
//! never claim FIPS mode.
|
//! never claim FIPS mode.
|
||||||
|
//!
|
||||||
|
//! "FIPS mode" means the validated module's code is running with its
|
||||||
|
//! self-tests passed. It does not say the platform is one of the certificate's
|
||||||
|
//! operating environments, nor that every service is approved: AES-GCM
|
||||||
|
//! encryption with a caller-supplied IV is not (design D-47). Those claims are
|
||||||
|
//! made per platform in the release documentation, not by this flag.
|
||||||
|
|
||||||
/// `Some(Ok(()))` when built with `fips` and AWS-LC reports FIPS mode,
|
/// `Some(Ok(()))` when built with `fips` and AWS-LC reports FIPS mode,
|
||||||
/// `Some(Err(reason))` when built with `fips` but the module is not in FIPS
|
/// `Some(Err(reason))` when built with `fips` but the module is not in FIPS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue