diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-02 15:24:24 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-09-02 15:33:47 +0200 |
commit | f9372aab943862371d48b6a77b2b0adb2f414a3d (patch) | |
tree | 2fd3bf69c80f1f95e279e947f6e415a4a712ee44 /lib/fips.h | |
parent | fba034723635127c6146b0c18aa8f391d8f7bf70 (diff) | |
download | gnutls-f9372aab943862371d48b6a77b2b0adb2f414a3d.tar.gz |
perform the FIPS140-2 self tests in two rounds
One round is before the AES acceleration is registered, and the second
is after. That is to allow testing of the AES implementation used in the
DRBG. That is a hack until nettle handles all cipher acceleration.
Diffstat (limited to 'lib/fips.h')
-rw-r--r-- | lib/fips.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fips.h b/lib/fips.h index e3d8cf61c3..dcd855c916 100644 --- a/lib/fips.h +++ b/lib/fips.h @@ -53,7 +53,8 @@ inline static gnutls_lib_state_t _gnutls_get_lib_state(void) return _gnutls_lib_mode; } -int _gnutls_fips_perform_self_checks(void); +int _gnutls_fips_perform_self_checks1(void); +int _gnutls_fips_perform_self_checks2(void); #ifdef ENABLE_FIPS140 unsigned _gnutls_fips_mode_enabled(void); |