How do I enable FIPS mode for NanoSSL?
Question: How do I enable FIPS mode for NanoSSL at runtime?
Answer: To enable or disable FIPS mode at runtime define the following build flags and runtime settings.
Build flags
Define the following build flags:
__ENABLE_MOCANA_FIPS_MODULE__
__ENABLE_MOCANA_SSL_FIPS__
Runtime settings
To enable or disable FIPS mode at runtime, use the following API:
sbyte4 SSL_setFIPSEnabled(ubyte <1/0>)
where:
1: Enables FIPS
0: Disables FIPS