diff options
author | lloyd <[email protected]> | 2014-01-31 22:30:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-31 22:30:50 +0000 |
commit | e11024f26113189f45ca1759f6a045ca6989849e (patch) | |
tree | 33ea9eb4c4faabc899fa03aff5132e00a21f5d84 /src/tests/test_mac.cpp | |
parent | 9332870c160d7a02f1bef6f249fa1baae196dc51 (diff) |
Add ChaCha
Diffstat (limited to 'src/tests/test_mac.cpp')
-rw-r--r-- | src/tests/test_mac.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_mac.cpp b/src/tests/test_mac.cpp index 2b07497aa..90d501233 100644 --- a/src/tests/test_mac.cpp +++ b/src/tests/test_mac.cpp @@ -20,6 +20,12 @@ size_t mac_test(const std::string& algo, const auto providers = af.providers_of(algo); size_t fails = 0; + if(providers.empty()) + { + std::cout << "Unknown algo " << algo << "\n"; + ++fails; + } + for(auto provider: providers) { auto proto = af.prototype_mac(algo, provider); |