Utilities from the general purpose cryptography library with TLS implementation
Go to file
Tomas Mraz 6f65ffce68 do not use AVX instructions when osxsave bit not set
add direct known answer tests for SHA2 algorithms
2011-11-03 10:18:52 +01:00
.gitignore new upstream release fixing CVE-2011-3207 (#736088) 2011-09-07 18:27:06 +02:00
hobble-openssl Correct patent expiry dates, in case of ECC more conservative estimate 2011-01-04 08:19:15 +01:00
make-dummy-cert - abort if selftests failed and random number generator is polled 2009-06-30 11:17:45 +00:00
Makefile.certificate - abort if selftests failed and random number generator is polled 2009-06-30 11:17:45 +00:00
openssl-0.9.6-x509.patch auto-import openssl-0.9.6b-18 from openssl-0.9.6b-18.src.rpm 2004-09-09 09:41:24 +00:00
openssl-0.9.8a-no-rpath.patch - don't set -rpath for openssl binary 2005-11-16 21:45:59 +00:00
openssl-0.9.8b-test-use-localhost.patch - use localhost in testsuite, hopefully fixes slow build in koji 2007-08-03 12:16:54 +00:00
openssl-0.9.8g-ia64.patch - rediff for no fuzz 2008-08-10 20:36:12 +00:00
openssl-0.9.8j-bad-mime.patch - new upstream version with necessary soname bump (#455753) 2009-01-15 09:10:25 +00:00
openssl-0.9.8j-env-nozlib.patch - new upstream version with necessary soname bump (#455753) 2009-01-15 09:10:25 +00:00
openssl-0.9.8j-version-add-engines.patch - new upstream version with necessary soname bump (#455753) 2009-01-15 09:10:25 +00:00
openssl-1.0.0-beta3-defaults.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-fipscheck.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-fipsrng.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-soversion.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta4-algo-doc.patch - update to new upstream version, no soname bump needed 2009-11-12 15:51:40 +00: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-beta4-default-paths.patch - update to new upstream version, no soname bump needed 2009-11-12 15:51:40 +00:00
openssl-1.0.0-beta4-dtls1-abi.patch - update to new upstream version, no soname bump needed 2009-11-12 15:51:40 +00:00
openssl-1.0.0-beta4-redhat.patch - fix build on s390x 2009-11-20 09:27:16 +00:00
openssl-1.0.0-beta5-cipher-change.patch More accurate comment for the SSL_OP_NETSCAPE_CIPHER_CHANGE_BUG 2010-12-09 11:46:08 +01:00
openssl-1.0.0-beta5-enginesdir.patch - new upstream release 2010-01-21 08:12:12 +00:00
openssl-1.0.0-beta5-readme-warning.patch - new upstream release 2010-01-21 08:12:12 +00:00
openssl-1.0.0-fips-aesni.patch allow the AES-NI engine in the FIPS mode 2011-06-09 16:22:08 +02:00
openssl-1.0.0-name-hash.patch - set UTC timezone on pod2man run (#578842) 2010-04-06 14:49:34 +00:00
openssl-1.0.0-sha2test.patch do not use AVX instructions when osxsave bit not set 2011-11-03 10:18:52 +01: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.0a-fips.patch - new upstream patch release, fixes CVE-2010-0742 (#598738) and 2010-06-04 12:23:14 +00:00
openssl-1.0.0a-fipsmode.patch - new upstream patch release, fixes CVE-2010-0742 (#598738) and 2010-06-04 12:23:14 +00:00
openssl-1.0.0a-load-certs.patch add support for VIA Padlock on 64bit arch from upstream (#617539) 2011-04-28 21:58:56 +02:00
openssl-1.0.0a-manfix.patch - openssl man page fix (#609484) 2010-06-30 12:36:47 +00:00
openssl-1.0.0b-aesni.patch - new upstream version fixing CVE-2010-3864 (#649304) 2010-11-16 18:21:39 +01:00
openssl-1.0.0b-ipv6-apps.patch - new upstream version fixing CVE-2010-3864 (#649304) 2010-11-16 18:21:39 +01:00
openssl-1.0.0c-apps-ipv6listen.patch - listen on ipv6 wildcard in s_server so we accept connections 2011-01-24 17:41:43 +01:00
openssl-1.0.0c-fips186-3.patch - add -x931 parameter to openssl genrsa command to use the ANSI X9.31 2011-02-04 15:14:18 +01:00
openssl-1.0.0c-fips-md5-allow.patch - add -x931 parameter to openssl genrsa command to use the ANSI X9.31 2011-02-04 15:14:18 +01:00
openssl-1.0.0c-pkcs12-fips-default.patch - add -x931 parameter to openssl genrsa command to use the ANSI X9.31 2011-02-04 15:27:28 +01:00
openssl-1.0.0c-rsa-x931.patch - add -x931 parameter to openssl genrsa command to use the ANSI X9.31 2011-02-04 15:14:18 +01:00
openssl-1.0.0c-speed-fips.patch - listen on ipv6 wildcard in s_server so we accept connections 2011-01-24 17:41:43 +01:00
openssl-1.0.0d-apps-dgst.patch clarify apps help texts for available digest algorithms (#693858) 2011-04-05 21:24:01 +02:00
openssl-1.0.0d-cavs.patch add API necessary for CAVS testing of the new DSA parameter generation 2011-05-24 14:57:29 +02:00
openssl-1.0.0d-cms-keyid.patch correct openssl cms help output (#636266) 2011-07-26 13:02:17 +02:00
openssl-1.0.0d-intelopts.patch do not use AVX instructions when osxsave bit not set 2011-11-03 10:18:52 +01:00
openssl-1.0.0d-padlock64.patch add support for VIA Padlock on 64bit arch from upstream (#617539) 2011-04-28 21:58:56 +02:00
openssl-1.0.0d-xmpp-starttls.patch correct openssl cms help output (#636266) 2011-07-26 13:02:17 +02:00
openssl-1.0.0e-chil-fixes.patch fix missing initialization of variable in CHIL engine 2011-09-21 17:34:13 +02:00
openssl-1.0.0e-version.patch new upstream release fixing CVE-2011-3207 (#736088) 2011-09-07 18:27:06 +02:00
openssl-thread-test.c - new upstream version 2005-11-08 13:52:29 +00:00
openssl.spec do not use AVX instructions when osxsave bit not set 2011-11-03 10:18:52 +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 sparc handling 2008-05-20 15:16:15 +00:00
README.FIPS Updated FIPS documentation. 2011-02-10 16:32:07 +01:00
sources new upstream release fixing CVE-2011-3207 (#736088) 2011-09-07 18:27:06 +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.0d
/usr/lib[64]/libssl.so.1.0.0d
/usr/lib[64]/.libcrypto.so.1.0.0d.hmac
/usr/lib[64]/.libssl.so.1.0.0d.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)