Implement FIPS CMAC.
authorRichard Levitte <levitte@openssl.org>
Thu, 24 Mar 2011 22:55:02 +0000 (22:55 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 24 Mar 2011 22:55:02 +0000 (22:55 +0000)
commit399aa6b5ffd37e2601af4524bb71d862cbee4a84
tree4a8007b086c33a2525c237209fbfbd6bb6070b9f
parent487b023f3d30114cad2118be70a47171ea4d65cd
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.
Makefile.org
crypto/cmac/cmac.c
crypto/evp/evp.h
fips/Makefile
fips/cmac/Makefile [new file with mode: 0644]
fips/cmac/fips_cmac_selftest.c [new file with mode: 0644]
fips/cmac/fips_cmactest.c [new file with mode: 0644]
fips/cmac/lib [new file with mode: 0644]
fips/fips.c
fips/fips.h
fips/utl/fips_enc.c