summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_fips140_run_self_tests
blob: 7212fff39159e8f44c421711bf18277d5655e72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@deftypefun {int} {gnutls_fips140_run_self_tests} ( @var{void})

Manually perform the second round of the FIPS140 self-tests,
including:

- Known answer tests (KAT) for the selected set of symmetric
cipher, MAC, public key, KDF, and DRBG
- Library integrity checks

Upon failure with FIPS140 mode enabled, it makes the library
unusable.  This function is not thread-safe.

@strong{Returns:} 0 upon success, a negative error code otherwise

@strong{Since:} 3.7.7
@end deftypefun