Utilities from the general purpose cryptography library with TLS implementation
Go to file
Clemens Lang c7561b3a10 Fix CVE-2023-5678
Fix CVE-2023-5678: Generating excessively long X9.42 DH keys or checking
excessively long X9.42 DH keys or parameters may be very slow

Resolves: RHEL-16538
Signed-off-by: Clemens Lang <cllang@redhat.com>
2023-11-15 17:37:26 +01:00
tests re-import sources as agreed with the maintainer 2023-06-29 18:17:45 +02:00
.gitignore re-import sources as agreed with the maintainer 2023-06-29 18:17:45 +02:00
ec_curve.c Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
ectest.c Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
fixpatch set the expected mode back for some files 2023-07-12 10:57:08 +02:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 11:10:27 -08:00
hobble-openssl set the expected mode back for some files 2023-07-12 10:57:08 +02:00
make-dummy-cert set the expected mode back for some files 2023-07-12 10:57:08 +02:00
Makefile.certificate Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-addrconfig.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-alpn-cb.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-apps-dgst.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-arm-update.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-build.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cleanup-peer-point-reneg.patch Auto sync2gitlab import of openssl-1.1.1k-9.el8.src.rpm 2023-02-18 00:25:20 +00:00
openssl-1.1.1-conf-paths.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cve-2022-0778.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cve-2022-1292.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cve-2022-2068.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cve-2022-2097.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-cve-2022-4304-RSA-oracle.patch Auto sync2gitlab import of openssl-1.1.1k-9.el8.src.rpm 2023-02-18 00:25:20 +00:00
openssl-1.1.1-cve-2022-4450-PEM-bio.patch Auto sync2gitlab import of openssl-1.1.1k-9.el8.src.rpm 2023-02-18 00:25:20 +00:00
openssl-1.1.1-cve-2023-0215-BIO-UAF.patch Auto sync2gitlab import of openssl-1.1.1k-9.el8.src.rpm 2023-02-18 00:25:20 +00:00
openssl-1.1.1-cve-2023-0286-X400.patch Auto sync2gitlab import of openssl-1.1.1k-9.el8.src.rpm 2023-02-18 00:25:20 +00:00
openssl-1.1.1-cve-2023-3446.patch Fix CVE-2023-3446, CVE-2023-3817 2023-10-23 17:21:57 +02:00
openssl-1.1.1-cve-2023-3817.patch Fix CVE-2023-3446, CVE-2023-3817 2023-10-23 17:21:57 +02:00
openssl-1.1.1-cve-2023-5678.patch Fix CVE-2023-5678 2023-11-15 17:37:26 +01:00
openssl-1.1.1-defaults.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-detected-addr-ipv6.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-ec-curves.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-edk2-build.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-evp-kdf.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips-crng-test.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips-curves.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips-dh.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips-drbg-selftest.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips-post-rand.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-fips.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-ignore-bound.patch re-import sources as agreed with the maintainer 2023-06-29 18:17:45 +02:00
openssl-1.1.1-intel-cet.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-kdf-selftest.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-krb5-kdf.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-man-rename.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-no-brainpool.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-no-html.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-no-weak-verify.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-read-buff.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-replace-expired-certs.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-rewire-fips-drbg.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-s390x-aes-tests.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-s390x-aes.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-s390x-ecc.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-s390x-update.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-seclevel.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-servername-cb.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-ssh-kdf.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-sslv3-keep-abi.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-system-cipherlist.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-tls13-curves.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-ts-sha256-default.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-version-add-engines.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-version-override.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl-1.1.1-weak-ciphers.patch Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
openssl.spec Fix CVE-2023-5678 2023-11-15 17:37:26 +01:00
opensslconf-new-warning.h Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
opensslconf-new.h Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
README.FIPS Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00:00
renew-dummy-cert set the expected mode back for some files 2023-07-12 10:57:08 +02:00
sources Auto sync2gitlab import of openssl-1.1.1k-7.el8_6.src.rpm 2022-07-11 12:11:47 +00: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)