Utilities from the general purpose cryptography library with TLS implementation
Go to file
2015-05-07 12:01:04 +02:00
.gitignore rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
ec_curve.c rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
ectest.c rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
fixpatch New upstream release from the 1.0.1 branch, ABI compatible 2012-02-07 13:46:42 +01:00
hobble-openssl rebase to 1.0.2 branch 2015-04-23 13:57:26 +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 make expiration and key length changeable by DAYS and KEYLEN 2014-02-06 18:07:59 +01:00
openssl-1.0.0-beta4-ca-dir.patch - update to new upstream version, no soname bump needed 2009-11-12 15:51:40 +00:00
openssl-1.0.0-timezone.patch - set UTC timezone on pod2man run (#578842) 2010-04-06 14:35:57 +00:00
openssl-1.0.1c-aliasing.patch do not move libcrypto to /lib 2012-07-13 14:23:34 +02:00
openssl-1.0.1c-perlfind.patch Make it build with new Perl 2012-07-12 00:35:57 +02:00
openssl-1.0.1i-algo-doc.patch new upstream release fixing multiple moderate security issues 2014-08-07 16:00:47 +02:00
openssl-1.0.2a-alt-chains.patch add alternative certificate chain discovery support from upstream 2015-04-28 17:10:52 +02:00
openssl-1.0.2a-apps-dgst.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-cc-reqs.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-chil-fixes.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-compat-symbols.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-default-paths.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-defaults.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-dh-1024.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-disable-sslv2v3.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-dtls1-abi.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-ecc-suiteb.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-enc-fail.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-enginesdir.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-env-zlib.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-fips-ctor.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-fips-ec.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-fips-md5-allow.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-fips.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-ipv6-apps.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-issuer-hash.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-manfix.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-new-fips-reqs.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-no-md5-verify.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-no-rpath.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-padlock64.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-pkgconfig-krb5.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-readme-warning.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-rpmbuild.patch fix some 64 bit build targets 2015-05-07 12:01:04 +02:00
openssl-1.0.2a-rsa-x931.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-secure-getenv.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-system-cipherlist.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-test-use-localhost.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-trusted-first-doc.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-version-add-engines.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-version.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-weak-ciphers.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-wrap-pad.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-x509.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-1.0.2a-xmpp-starttls.patch rebase to 1.0.2 branch 2015-04-23 13:57:26 +02:00
openssl-fips.conf add -fips subpackage that contains the FIPS module files 2013-08-27 16:03:43 +02:00
openssl-thread-test.c - new upstream version 2005-11-08 13:52:29 +00:00
openssl.spec fix some 64 bit build targets 2015-05-07 12:01:04 +02: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 add support for ppc64le architecture (#1072633) 2014-04-03 16:24:35 +02:00
README.FIPS Remove obsolete sentence. 2014-02-13 16:17:58 +01: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 rebase to 1.0.2 branch 2015-04-23 13:57:26 +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.0.1e
/usr/lib[64]/libssl.so.1.0.1e
/usr/lib[64]/.libcrypto.so.1.0.1e.hmac
/usr/lib[64]/.libssl.so.1.0.1e.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 - IPSec
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).

For proper operation of the in-module integrity verification the prelink has to
be disabled. This can be done with setting PRELINKING=no in the
/etc/sysconfig/prelink configuration file. If the libraries were already
prelinked the prelink should be undone on all the system files with the
'prelink -u -a' command.

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)