diff options
author | Matt Caswell <matt@openssl.org> | 2020-05-27 12:40:24 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-06-10 13:58:26 +0200 |
commit | a370ff8daa31f5030fb12e298730bbecf69c7e09 (patch) | |
tree | 38e3ca03481ee3a47a9623c48988e1dd861f4262 /test/build.info | |
parent | Correctly handle the return value from EVP_Cipher() in the CMAC code (diff) | |
download | openssl-a370ff8daa31f5030fb12e298730bbecf69c7e09.tar.xz openssl-a370ff8daa31f5030fb12e298730bbecf69c7e09.zip |
Add a CMAC test
We did not have a test of the low level CMAC APIs so we add one. This is
heavily based on the HMAC test.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11972)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/build.info b/test/build.info index b98d1b52cc..de4f2fc270 100644 --- a/test/build.info +++ b/test/build.info @@ -514,6 +514,9 @@ IF[{- !$disabled{tests} -}] IF[{- !$disabled{ec} -}] PROGRAMS{noinst}=ec_internal_test curve448_internal_test ENDIF + IF[{- !$disabled{cmac} -}] + PROGRAMS{noinst}=cmactest + ENDIF SOURCE[poly1305_internal_test]=poly1305_internal_test.c INCLUDE[poly1305_internal_test]=.. ../include ../apps/include @@ -587,6 +590,12 @@ IF[{- !$disabled{tests} -}] INCLUDE[hmactest]=../include ../apps/include DEPEND[hmactest]=../libcrypto.a libtestutil.a + IF[{- !$disabled{cmac} -}] + SOURCE[cmactest]=cmactest.c + INCLUDE[cmactest]=../include ../apps/include + DEPEND[cmactest]=../libcrypto.a libtestutil.a + ENDIF + SOURCE[siphash_internal_test]=siphash_internal_test.c INCLUDE[siphash_internal_test]=.. ../include ../apps/include DEPEND[siphash_internal_test]=../libcrypto.a libtestutil.a |