summaryrefslogtreecommitdiffstats
path: root/fips/fips.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2011-03-24 22:55:02 +0000
committerRichard Levitte <levitte@openssl.org>2011-03-24 22:55:02 +0000
commit399aa6b5ffd37e2601af4524bb71d862cbee4a84 (patch)
tree4a8007b086c33a2525c237209fbfbd6bb6070b9f /fips/fips.c
parent487b023f3d30114cad2118be70a47171ea4d65cd (diff)
Implement FIPS CMAC.
* fips/cmac/*: Implement the basis for FIPS CMAC, using FIPS HMAC as an example. * crypto/cmac/cmac.c: Enable the FIPS API. Change to use M_EVP macros where possible. * crypto/evp/evp.h: (some of the macros get added with this change) * fips/fips.h, fips/utl/fips_enc.c: Add a few needed functions and use macros to have cmac.c use these functions. * Makefile.org, fips/Makefile, fips/fips.c: Hook it in.
Diffstat (limited to 'fips/fips.c')
-rw-r--r--fips/fips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/fips.c b/fips/fips.c
index c7d4bb567c..5ea4be1e08 100644
--- a/fips/fips.c
+++ b/fips/fips.c
@@ -174,6 +174,7 @@ int FIPS_selftest(void)
return FIPS_selftest_sha1()
&& FIPS_selftest_hmac()
+ && FIPS_selftest_cmac()
&& FIPS_selftest_aes()
&& FIPS_selftest_aes_gcm()
&& FIPS_selftest_des()