| 1 |
|
| 2 |
|
| 3 |
@c gnutls_fips_mode_t |
| 4 |
@table @code |
| 5 |
@item GNUTLS_@-FIPS140_@-DISABLED |
| 6 |
The FIPS140-2 mode is disabled. |
| 7 |
@item GNUTLS_@-FIPS140_@-STRICT |
| 8 |
The default mode; all forbidden operations will cause an |
| 9 |
operation failure via error code. |
| 10 |
@item GNUTLS_@-FIPS140_@-SELFTESTS |
| 11 |
A transient state during library initialization. That state |
| 12 |
cannot be set or seen by applications. |
| 13 |
@item GNUTLS_@-FIPS140_@-LAX |
| 14 |
The library still uses the FIPS140-2 relevant algorithms but all |
| 15 |
forbidden by FIPS140-2 operations are allowed; this is useful when the |
| 16 |
application is aware of the followed security policy, and needs |
| 17 |
to utilize disallowed operations for other reasons (e.g., compatibility). |
| 18 |
@item GNUTLS_@-FIPS140_@-LOG |
| 19 |
Similarly to @code{GNUTLS_FIPS140_LAX} , it allows forbidden operations; any use of them results |
| 20 |
to a message to the audit callback functions. |
| 21 |
@end table |