[openssl-dev] FIPS mode: how is the code put together ?

2016-08-08 Thread jonetsu
Hello, When using the FIPS module (version 2.0.9 if it matters, with OpenSSL 1.0.1e) the source code of both the regular openssl and the openssl-fips have a certain number of files named the same. For instance, crypto/bn/bn_rand.c. The FIPS version of this file has an additional check for FIPS_m

[openssl-dev] FIPS: AES CTR KAT tests

2016-07-05 Thread jonetsu
Hello, I am looking for the selftests, the KAT tests, for AES CTR and CBC in openssl_fips 2.0.9. Although many tests are directly defined, such as:   FIPS_selftest_aes_gcm(void) in aes/fips_aes_selftest.c   gcmtest(FILE *in, FILE *out, int encrypt) in ../aes/fips_gcmtest.c   And for CBC: