self-test for FIPS mode

xxiao8 xxiao8 at
Tue Aug 11 18:15:06 CEST 2015

In openssl I can run self-test standalone under FIPS mode and it takes 
less than 1 second to complete.

For libgcrypt the self-tests at runtime are all embedded in various 
source code, is there a way I can run the FIPS selftests explicitly? 
otherwise what's the right way to do it(e.g. run cryptsetup which uses 
libgcrypt once to trigger the self-test?)


More information about the Gcrypt-devel mailing list