Go to file
Tomáš Mráz 1a303f4853 - fix typo in DTLS1 code (#527015)
- fix leak in error handling of d2i_SSL_SESSION()
2009-10-08 18:45:10 +00:00
.cvsignore - update to new major upstream release 2009-08-20 14:20:57 +00:00
Makefile makefile update to properly grab makefile.common 2007-10-15 19:12:21 +00:00
Makefile.certificate - abort if selftests failed and random number generator is polled 2009-06-30 11:17:45 +00:00
README.FIPS - update to new major upstream release 2009-08-20 14:20:57 +00:00
hobble-openssl - update to new major upstream release 2009-08-20 14:20:57 +00:00
make-dummy-cert - 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-aliasing-bug.patch - aliasing bug in engine loading, patch by IBM (#213216) 2006-11-02 21:16:00 +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-ca-dir.patch - abort if selftests failed and random number generator is polled 2009-06-30 11:17:45 +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-readme-warning.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-0.9.8k-algo-doc.patch - abort if selftests failed and random number generator is polled 2009-07-01 09:52:07 +00:00
openssl-1.0.0-beta3-camellia-rounds.patch - fix RSA and DSA FIPS selftests 2009-09-30 18:18:48 +00:00
openssl-1.0.0-beta3-cipher-change.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-const.patch - constify SSL_CIPHER_description() 2009-08-22 14:38:34 +00:00
openssl-1.0.0-beta3-curl.patch - fix WWW:Curl:Easy reference in tsget 2009-08-21 13:42:11 +00:00
openssl-1.0.0-beta3-default-paths.patch - update to new major upstream release 2009-08-20 14:20:57 +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-dss1.patch - fix openssl dgst -dss1 (#520152) 2009-08-31 11:07:49 +00:00
openssl-1.0.0-beta3-dtls1-fix.patch - fix typo in DTLS1 code (#527015) 2009-10-08 18:45:10 +00:00
openssl-1.0.0-beta3-enginesdir.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-fips.patch - fix RSA and DSA FIPS selftests 2009-09-30 18:18:48 +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-fipsmode.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-ipv6-apps.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-krb5.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-namingblk.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-namingstr.patch - update to new major upstream release 2009-08-20 14:20:57 +00:00
openssl-1.0.0-beta3-redhat.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-beta3-ssl-session.patch - fix typo in DTLS1 code (#527015) 2009-10-08 18:45:10 +00:00
openssl-thread-test.c - new upstream version 2005-11-08 13:52:29 +00:00
openssl.spec - fix typo in DTLS1 code (#527015) 2009-10-08 18:45:10 +00: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
sources - update to new major upstream release 2009-08-20 14:20:57 +00:00

README.FIPS

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
================
/lib[64]/libcrypto.so.0.9.8e
/lib[64]/libssl.so.0.9.8e
/lib[64]/.libcrypto.so.0.9.8e.hmac
/lib[64]/.libssl.so.0.9.8e.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(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)