Added support for fips states.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 11 Nov 2013 17:07:17 +0000 (18:07 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 27 Nov 2013 10:41:05 +0000 (11:41 +0100)
commit0f8af4f83efde3c8d448ed4bd8ae0879e2112607
tree29a7d8c8bd69a74775a94d255e8140dfded93f65
parent8b03afa66a73aa981cd0098520a464ad3089535a
Added support for fips states.

This implies that when in FIPS mode and the library is not in operational
state (i.e., all self checks succeeded), crypto functionality of the library will fail.
This includes:
* API functions of gnutls/crypto.h
* API functions of gnutls/abstract.h
* API functions of gnutls/x509.h
* gnutls_init()
* API functions of gnutls/xssl.h
21 files changed:
configure.ac
lib/Makefile.am
lib/fips.c [new file with mode: 0644]
lib/fips.h [new file with mode: 0644]
lib/gnutls_cipher_int.c
lib/gnutls_errors.c
lib/gnutls_global.c
lib/gnutls_hash_int.c
lib/gnutls_privkey.c
lib/gnutls_pubkey.c
lib/gnutls_state.c
lib/includes/gnutls/gnutls.h.in
lib/pkcs11_privkey.c
lib/random.c
lib/x509/common.h
lib/x509/crl.c
lib/x509/crq.c
lib/x509/privkey.c
lib/x509/verify-high.c
lib/x509/x509.c
lib/xssl.c