MinGW port of the OpenSSL toolkit
Go to file
Christophe Fergeau 5de6bbd163 Sync with fedora OpenSSL 1.1.0h
This is based on f28 dist-git commit 5d5075d4c92
2018-08-24 11:09:11 +02:00
.gitignore Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
ec_curve.c Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
ectest.c Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
fixpatch Synced patches with native openssl-1.0.1e-38.fc21 2014-01-25 23:18:30 +01:00
hobble-openssl Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
make-dummy-cert - Updated to version 1.0.0 beta 4 2009-11-22 17:44:35 +00:00
Makefile.certificate Synced patches with native openssl-1.0.1e-44.fc21 2014-04-09 08:25:44 +02:00
mingw-openssl.spec Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-algo-doc.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-apps-dgst.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-bio-fd-preserve-nl.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-build.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-ca-dir.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-cc-reqs.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-chil-fixes.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-defaults.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-disable-ssl3.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-ec-curves.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-fips.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-issuer-hash.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-manfix.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-missing-quotes.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-no-html.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-no-weak-verify.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-secure-getenv.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-silent-rnd-write.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-system-cipherlist.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-version-add-engines.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-1.1.0-weak-ciphers.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
openssl-fips.conf Synced patches with native openssl-1.0.1e-38.fc21 2014-01-25 23:18:30 +01:00
openssl-mingw64-dont-use-secure-getenv.patch Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
opensslconf-new-warning.h Initial import. 2009-02-09 09:33:37 +00:00
opensslconf-new.h Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
README.FIPS Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00
renew-dummy-cert Update to 1.0.1e (RHBZ #920868) 2013-03-24 20:50:27 +01:00
sources Sync with fedora OpenSSL 1.1.0h 2018-08-24 11:09:11 +02:00

User guide for the FIPS Red Hat Enterprise Linux - OpenSSL Module
=================================================================

This package contains libraries which comprise the FIPS 140-2
Red Hat Enterprise Linux - OPENSSL Module.

The module files
================
/usr/lib[64]/libcrypto.so.1.1.0
/usr/lib[64]/libssl.so.1.1.0
/usr/lib[64]/.libcrypto.so.1.1.0.hmac
/usr/lib[64]/.libssl.so.1.1.0.hmac

Dependencies
============

The approved mode of operation requires kernel with /dev/urandom RNG running
with properties as defined in the security policy of the module. This is
provided by kernel packages with validated Red Hat Enterprise Linux Kernel
Crytographic Module.

Installation
============

The RPM package of the module can be installed by standard tools recommended
for installation of RPM packages on the Red Hat Enterprise Linux system (yum,
rpm, RHN remote management tool).

The RPM package dracut-fips must be installed for the approved mode of
operation.

Usage and API
=============

The module respects kernel command line FIPS setting. If the kernel command
line contains option fips=1 the module will initialize in the FIPS approved
mode of operation automatically. To allow for the automatic initialization the
application using the module has to call one of the following API calls:

- void OPENSSL_init_library(void) - this will do only a basic initialization
of the library and does initialization of the FIPS approved mode without setting
up EVP API with supported algorithms.

- void OPENSSL_add_all_algorithms(void) - this API function calls
OPENSSL_init() implicitly and also adds all approved algorithms to the EVP API
in the approved mode 

- void SSL_library_init(void) - it calls OPENSSL_init() implicitly and also
adds algorithms which are necessary for TLS protocol support and initializes
the SSL library.

To explicitely put the library to the approved mode the application can call
the following function:

- int FIPS_mode_set(int on) - if called with 1 as a parameter it will switch
the library from the non-approved to the approved mode. If any of the selftests
and integrity verification tests fail, the library is put into the error state
and 0 is returned. If they succeed the return value is 1.

To query the module whether it is in the approved mode or not:

- int FIPS_mode(void) - returns 1 if the module is in the approved mode,
0 otherwise.

To query whether the module is in the error state:

- int FIPS_selftest_failed(void) - returns 1 if the module is in the error
state, 0 otherwise.

To zeroize the FIPS RNG key and internal state the application calls:

- void RAND_cleanup(void)