1gnutls_fips140_run_self_tests(3) gnutls gnutls_fips140_run_self_tests(3)
2
3
4
6 gnutls_fips140_run_self_tests - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_fips140_run_self_tests( void);
12
14 void
15
17 Manually perform the second round of the FIPS140 self-tests, including:
18
19 - Known answer tests (KAT) for the selected set of symmetric cipher,
20 MAC, public key, KDF, and DRBG - Library integrity checks
21
22 Upon failure with FIPS140 mode enabled, it makes the library unusable.
23 This function is not thread-safe.
24
26 0 upon success, a negative error code otherwise
27
29 3.7.7
30
32 Report bugs to <bugs@gnutls.org>.
33 Home page: https://www.gnutls.org
34
35
37 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright no‐
40 tice and this notice are preserved.
41
43 The full documentation for gnutls is maintained as a Texinfo manual.
44 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
45 visit
46
47 https://www.gnutls.org/manual/
48
49gnutls 3.8.2 gnutls_fips140_run_self_tests(3)