| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {gnutls_fips140_run_self_tests} ( @var{void}) |
| 6 |
|
| 7 |
Manually perform the second round of the FIPS140 self-tests, |
| 8 |
including: |
| 9 |
|
| 10 |
- Known answer tests (KAT) for the selected set of symmetric |
| 11 |
cipher, MAC, public key, KDF, and DRBG |
| 12 |
- Library integrity checks |
| 13 |
|
| 14 |
Upon failure with FIPS140 mode enabled, it makes the library |
| 15 |
unusable. This function is not thread-safe. |
| 16 |
|
| 17 |
@strong{Returns:} 0 upon success, a negative error code otherwise |
| 18 |
|
| 19 |
@strong{Since:} 3.7.7 |
| 20 |
@end deftypefun |