We are evaluating Poco C++ libraries for use in our product. We need our software to be FIPS compliant, and work on Windows, Linux, and OSX platforms. Poco C++ seems to have FIPS mode from documentation of Poco::Crypto::OpenSSLInitializer::enableFIPSMode
method. But the documentation is too short. If I open its H file, I can see only this comment:
Enable or disable FIPS mode. If FIPS is not available, this method doesn't do anything.
Based on this information, it's unclear to me how to use Poco's FIPS mode. Namely,
OPENSSL_FIPS
in Poco's H files. Do I need to define it while building?Where can I find enough information about this?
All the questions are really openssl-related, because POCO is only a wrapper, delegating openssl calls to the openssl library.
opensslconf.h
to see if it is enabled