File: gnutls_fips140_mode_enabled

package info (click to toggle)
gnutls28 3.8.9-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 83,872 kB
  • sloc: ansic: 388,071; asm: 117,804; sh: 18,477; makefile: 6,732; yacc: 1,858; python: 1,399; cpp: 1,243; perl: 995; sed: 16
file content (18 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18




@deftypefun {unsigned} {gnutls_fips140_mode_enabled} ( @var{void})

Checks whether this library is in FIPS140 mode. The returned
value corresponds to the library mode as set with
@code{gnutls_fips140_set_mode()} .

If @code{gnutls_fips140_set_mode()}  was called with @code{GNUTLS_FIPS140_SET_MODE_THREAD} 
then this function will return the current thread's FIPS140 mode, otherwise
the global value is returned.

@strong{Returns:} return non-zero if true or zero if false.

@strong{Since:} 3.3.0
@end deftypefun