1gnutls_fips140_mode_enabled(3) gnutls gnutls_fips140_mode_enabled(3)
2
3
4
6 gnutls_fips140_mode_enabled - API function
7
9 #include <gnutls/gnutls.h>
10
11 unsigned gnutls_fips140_mode_enabled( void);
12
14 void
15
17 Checks whether this library is in FIPS140 mode. The returned value cor‐
18 responds to the library mode as set with gnutls_fips140_set_mode().
19
20 If gnutls_fips140_set_mode() was called with
21 GNUTLS_FIPS140_SET_MODE_THREAD then this function will return the cur‐
22 rent thread's FIPS140 mode, otherwise the global value is returned.
23
25 return non-zero if true or zero if false.
26
28 3.3.0
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: https://www.gnutls.org
33
34
36 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 https://www.gnutls.org/manual/
47
48gnutls 3.6.13 gnutls_fips140_mode_enabled(3)