pub fn enable()
Expand description
Enable FIPS mode for OpenSSL.
This should be called on application startup before the provider is used.
On OpenSSL 1.1.1 this calls FIPS_mode_set. On OpenSSL 3 this loads a FIPS provider, which must be available.
Panics if FIPS cannot be enabled