diff options
author | Matt Caswell <matt@openssl.org> | 2020-05-27 11:40:24 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-06-10 12:58:26 +0100 |
commit | a370ff8daa31f5030fb12e298730bbecf69c7e09 (patch) | |
tree | 38e3ca03481ee3a47a9623c48988e1dd861f4262 /test/recipes | |
parent | 154ea425e647de4a497aa28c91d279aa93b3bf60 (diff) | |
download | openssl-a370ff8daa31f5030fb12e298730bbecf69c7e09.tar.gz |
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/recipes')
-rw-r--r-- | test/recipes/05-test_cmac.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/recipes/05-test_cmac.t b/test/recipes/05-test_cmac.t new file mode 100644 index 0000000000..499f713f93 --- /dev/null +++ b/test/recipes/05-test_cmac.t @@ -0,0 +1,12 @@ +#! /usr/bin/env perl +# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the Apache License 2.0 (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + + +use OpenSSL::Test::Simple; + +simple_test("test_cmac", "cmactest", "cmac"); |