Go to file
Sahana Prasad fb8e66a58f Fix regression in X509_verify_cert() #bz1916594
Signed-off-by: Sahana Prasad <sahana@redhat.com>
2021-02-10 14:56:08 +01:00
tests Fedora CI: Test with the "main" Python version 2020-04-28 19:01:56 +00:00
.gitignore Update to the 1.1.1i release fixing CVE-2020-1971 2020-12-09 10:49:38 +01:00
ec_curve.c update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
ectest.c Upgrade to version 1.1.1h 2020-11-09 10:41:15 +01:00
fixpatch New upstream release from the 1.0.1 branch, ABI compatible 2012-02-07 13:46:42 +01:00
hobble-openssl update to upstream version 1.1.0f 2017-06-02 15:32:15 +02:00
make-dummy-cert - abort if selftests failed and random number generator is polled 2009-06-30 11:17:45 +00:00
Makefile.certificate Makefile.certificate should not set serial to 0 by default 2015-12-04 14:36:15 +01:00
openssl-1.1.0-issuer-hash.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.1-alpn-cb.patch SHA1 is allowed in @SECLEVEL=2 only if allowed by TLS SigAlgs configuration 2020-06-05 17:39:16 +02:00
openssl-1.1.1-apps-dgst.patch fix regression in EVP_PBE_scrypt() (#1688284) 2019-03-15 16:05:02 +01:00
openssl-1.1.1-arm-update.patch Update to the 1.1.1i release fixing CVE-2020-1971 2020-12-09 10:49:38 +01:00
openssl-1.1.1-build.patch update to the 1.1.1f release 2020-04-07 16:50:53 +02:00
openssl-1.1.1-conf-paths.patch use .include = syntax in the config file 2019-03-01 08:58:32 +01:00
openssl-1.1.1-defaults.patch update to the 1.1.1a release 2019-01-15 15:07:49 +01:00
openssl-1.1.1-disable-ssl3.patch Two minor fixes 2018-08-29 18:25:29 +02:00
openssl-1.1.1-ec-curves.patch Upgrade to version 1.1.1h 2020-11-09 10:41:15 +01:00
openssl-1.1.1-edk2-build.patch pull some fixes and improvements from RHEL-8 2020-05-18 13:26:53 +02:00
openssl-1.1.1-evp-kdf.patch update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
openssl-1.1.1-fips-crng-test.patch update to the 1.1.1g release 2020-04-23 13:47:52 +02:00
openssl-1.1.1-fips-curves.patch pull some fixes and improvements from RHEL-8 2020-05-18 13:26:53 +02:00
openssl-1.1.1-fips-dh.patch Upgrade to version 1.1.1h 2020-11-09 10:41:15 +01:00
openssl-1.1.1-fips-drbg-selftest.patch update to the 1.1.1g release 2020-04-23 13:47:52 +02:00
openssl-1.1.1-fips-post-rand.patch Update to the 1.1.1i release fixing CVE-2020-1971 2020-12-09 10:49:38 +01:00
openssl-1.1.1-fips.patch Upgrade to version 1.1.1h 2020-11-09 10:41:15 +01:00
openssl-1.1.1-intel-cet.patch update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
openssl-1.1.1-kdf-selftest.patch Add FIPS selftest for PBKDF2 and KBKDF 2020-06-03 16:30:12 +02:00
openssl-1.1.1-krb5-kdf.patch update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
openssl-1.1.1-man-rename.patch update to the latest 1.1.1 beta version 2018-08-22 12:41:26 +02:00
openssl-1.1.1-no-brainpool.patch update to the 1.1.1d release 2019-09-13 17:25:44 +02:00
openssl-1.1.1-no-html.patch update to the 1.1.1f release 2020-04-07 16:50:53 +02:00
openssl-1.1.1-no-weak-verify.patch update to the 1.1.1b release 2019-02-28 17:01:40 +01:00
openssl-1.1.1-rewire-fips-drbg.patch Rewire FIPS_drbg API to use the RAND_DRBG 2020-06-22 13:43:12 +02:00
openssl-1.1.1-s390x-ecc.patch pull some fixes and improvements from RHEL-8 2020-05-18 13:26:53 +02:00
openssl-1.1.1-s390x-update.patch update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
openssl-1.1.1-seclevel.patch SHA1 is allowed in @SECLEVEL=2 only if allowed by TLS SigAlgs configuration 2020-06-05 17:39:16 +02:00
openssl-1.1.1-ssh-kdf.patch update to the 1.1.1e release 2020-03-19 17:44:25 +01:00
openssl-1.1.1-system-cipherlist.patch update to the 1.1.1c release 2019-05-29 17:23:31 +02:00
openssl-1.1.1-ts-sha256-default.patch Upgrade to version 1.1.1h 2020-11-09 10:41:15 +01:00
openssl-1.1.1-verify-cert.patch Fix regression in X509_verify_cert() #bz1916594 2021-02-10 14:56:08 +01:00
openssl-1.1.1-version-add-engines.patch update to the latest 1.1.1 beta version 2018-07-25 18:15:19 +02:00
openssl-1.1.1-version-override.patch Update to the 1.1.1i release fixing CVE-2020-1971 2020-12-09 10:49:38 +01:00
openssl-1.1.1-weak-ciphers.patch reinstate accidentally dropped patch for weak ciphersuites 2018-09-17 12:56:19 +02:00
openssl.spec Fix regression in X509_verify_cert() #bz1916594 2021-02-10 14:56:08 +01:00
opensslconf-new-warning.h auto-import openssl-0.9.7a-34 from openssl-0.9.7a-34.src.rpm 2004-09-09 09:49:16 +00:00
opensslconf-new.h minor upstream release 1.0.2f fixing security issues 2016-01-28 17:12:09 +01:00
README.FIPS update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
renew-dummy-cert renew-dummy-cert: Fix long serial number renewal problem. 2018-05-04 09:17:27 +02:00
sources Update to the 1.1.1i release fixing CVE-2020-1971 2020-12-09 10:49:38 +01: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)