Updated FIPS140 initialization and added a self test for it.
[gnutls:gnutls.git] / lib / includes / gnutls / fips140.h
1 /* -*- c -*-
2  * Copyright (C) 2000-2012 Free Software Foundation, Inc.
3  *
4  * Author: Nikos Mavrogiannopoulos
5  *
6  * This file is part of GnuTLS.
7  *
8  * The GnuTLS is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program.  If not, see <http://www.gnu.org/licenses/>
20  *
21  */
22
23 /* This file contains the types and prototypes for all the
24  * high level functionality of the gnutls main library.
25  *
26  * If the optional C++ binding was built, it is available in
27  * gnutls/gnutlsxx.h.
28  *
29  * The openssl compatibility layer (which is under the GNU GPL
30  * license) is in gnutls/openssl.h.
31  *
32  * The low level cipher functionality is in gnutls/crypto.h.
33  */
34
35
36 #ifndef GNUTLS_FIPS140_H
37 #define GNUTLS_FIPS140_H
38
39 /* *INDENT-OFF* */
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 /* *INDENT-ON* */
44
45
46 int gnutls_fips140_mode_enabled(void);
47
48
49 /* *INDENT-OFF* */
50 #ifdef __cplusplus
51 }
52 #endif
53 /* *INDENT-ON* */
54
55 #endif