Go to file
Igor Gnatenko e688115b6d
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:56:41 +01:00
tests tests: add simple-rsapss-test 2017-11-11 22:12:23 -05:00
.gitignore Uploaded 1.1.0g sources. 2017-11-03 17:07:20 +01:00
ec_curve.c Add back EC NIST P-224 and revert SSL_read() change 2016-11-22 10:39:55 +01:00
ectest.c Add back EC NIST P-224 and revert SSL_read() change 2016-11-22 10:39:55 +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-algo-doc.patch update to upstream version 1.1.0d 2017-01-26 16:24:24 +01:00
openssl-1.1.0-apps-dgst.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-bio-fd-preserve-nl.patch preserve new line in fd BIO BIO_gets() as other BIOs do 2016-12-22 14:40:28 +01:00
openssl-1.1.0-build.patch update to upstream version 1.1.0g 2017-11-03 16:57:03 +01:00
openssl-1.1.0-ca-dir.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-cc-reqs.patch update to upstream version 1.1.0f 2017-06-02 15:32:15 +02:00
openssl-1.1.0-chil-fixes.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-defaults.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-disable-ssl3.patch make s_client and s_server work with -ssl3 option (#1471783) 2017-07-17 15:05:28 +02:00
openssl-1.1.0-ec-curves.patch update to upstream version 1.1.0f 2017-06-02 15:32:15 +02:00
openssl-1.1.0-fips.patch update to upstream version 1.1.0g 2017-11-03 16:57:03 +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.0-manfix.patch update to upstream version 1.1.0g 2017-11-03 16:57:03 +01:00
openssl-1.1.0-no-html.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-no-weak-verify.patch update to upstream version 1.1.0g 2017-11-03 16:57:03 +01:00
openssl-1.1.0-secure-getenv.patch update to upstream version 1.1.0g 2017-11-03 16:57:03 +01:00
openssl-1.1.0-silent-rnd-write.patch silence the .rnd write failure as that is auxiliary functionality (#1524833) 2018-01-11 18:08:54 +01:00
openssl-1.1.0-starttls-xmpp.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-system-cipherlist.patch update to upstream version 1.1.0e 2017-02-16 16:59:27 +01:00
openssl-1.1.0-version-add-engines.patch update to upstream version 1.1.0b 2016-10-11 10:31:54 +02:00
openssl-1.1.0-weak-ciphers.patch enable 3DES SSL ciphersuites, RC4 is kept disabled (#1453066) 2017-06-15 15:17:26 +02:00
openssl-fips.conf add -fips subpackage that contains the FIPS module files 2013-08-27 16:03:43 +02:00
openssl.spec Remove %clean section 2018-02-14 09:56:41 +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 add script for renewal of a self-signed cert by Philip Prindeville (#871566) 2012-12-21 17:21:50 +01:00
sources Uploaded 1.1.0g sources. 2017-11-03 17:07:20 +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)