pub fn is_running(libctx: Option<&Arc<LibCtx>>) -> boolExpand description
Returns true if the FIPS provider is loaded and available in the given
library context.
Pass None to query the default (process-wide) library context.
Uses OSSL_PROVIDER_available — no fips-provider feature required.
§Example
ⓘ
use native_ossl::fips;
if fips::is_running(None) {
println!("Running in FIPS mode");
}