diff options
author | Patrick Steuer <patrick.steuer@de.ibm.com> | 2020-04-09 19:58:02 +0200 |
---|---|---|
committer | Patrick Steuer <patrick.steuer@de.ibm.com> | 2020-04-11 00:31:57 +0200 |
commit | abfc73f374c2b80e15f6c9d0b3a7437b3e94afa8 (patch) | |
tree | 783be6935ef526392d31db6686c08fea08619502 /test/recipes | |
parent | cc572c25647f6ab0c026a4a3057dc706e4a4a412 (diff) |
Fix EVP_DigestSign interface when used with DES CMAC
DES implementations were missing the dup/copy ctx routines
required by CMAC implementation. A regression test is added.
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11498)
Diffstat (limited to 'test/recipes')
-rw-r--r-- | test/recipes/30-test_evp_data/evpmac.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/recipes/30-test_evp_data/evpmac.txt b/test/recipes/30-test_evp_data/evpmac.txt index 0b83cff36c..17c3220d6c 100644 --- a/test/recipes/30-test_evp_data/evpmac.txt +++ b/test/recipes/30-test_evp_data/evpmac.txt @@ -624,6 +624,11 @@ Key = 89BCD952A8C8AB371AF48AC7D07085D5EFF702E6D62CDC23 Input = FA620C1BBE97319E9A0CF0492121F7A20EB08A6A709DCBD00AAF38E4F99E754E Output = 8F49A1B7D6AA2258 +MAC = CMAC by EVP_PKEY +Algorithm = DES-EDE3-CBC +Key = 89BCD952A8C8AB371AF48AC7D07085D5EFF702E6D62CDC23 +Input = FA620C1BBE97319E9A0CF0492121F7A20EB08A6A709DCBD00AAF38E4F99E754E +Output = 8F49A1B7D6AA2258 Title = GMAC Tests (from NIST) |