diff options
author | Jack Lloyd <[email protected]> | 2017-10-18 17:33:29 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-18 17:33:29 -0400 |
commit | 8258550225d198a3f1f9791d5fc5ce8511dfeb3e (patch) | |
tree | 8aa72a5942103c33c745643e08cd39acf1b80b36 /src/tests | |
parent | f01f37d142ef230b03ca6af46f1e1a0615e4879a (diff) |
GMAC test fixes
[ci skip]
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/data/mac/gmac.vec | 2 | ||||
-rw-r--r-- | src/tests/test_mac.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/data/mac/gmac.vec b/src/tests/data/mac/gmac.vec index f01b42d1d..b6299137d 100644 --- a/src/tests/data/mac/gmac.vec +++ b/src/tests/data/mac/gmac.vec @@ -1,4 +1,4 @@ -#test cpuid aesni ssse3 clmul +#test cpuid aesni ssse3 clmul pmull # Testvectors in this file have been generated using the Bouncy Castle Crypto # API version 1.54 (https://www.bouncycastle.org) diff --git a/src/tests/test_mac.cpp b/src/tests/test_mac.cpp index 2792aeb3e..f4e3e4268 100644 --- a/src/tests/test_mac.cpp +++ b/src/tests/test_mac.cpp @@ -85,7 +85,7 @@ class Message_Auth_Tests final : public Text_Based_Test clone->start(iv); clone->update(Test::rng().random_vec(32)); - result.test_eq(provider + " correct mac", mac->verify_mac(expected.data(), expected.size()), true); + result.test_eq(provider + " verify mac", mac->verify_mac(expected.data(), expected.size()), true); if(input.size() > 2) { |