diff options
author | lloyd <[email protected]> | 2013-03-16 22:23:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-03-16 22:23:59 +0000 |
commit | 158b20308dcc5c81e712e2e496fa0a5944e484a4 (patch) | |
tree | b797fed9a06ba62f57b4c6d771d389c493f6ab0c /checks/validate.cpp | |
parent | 01d1a8f734b9912301e4c0b6504c5ffa1d09e27a (diff) |
Working GCM. Add support for AEAD modes in self tests
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r-- | checks/validate.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp index 60fd729e3..7ae2fba29 100644 --- a/checks/validate.cpp +++ b/checks/validate.cpp @@ -442,6 +442,9 @@ bool failed_test(const std::string& algo, if(params.size() > 3) vars["iv"] = params[3]; + if(params.size() > 4) + vars["ad"] = params[4]; + Algorithm_Factory& af = global_state().algorithm_factory(); const auto results = algorithm_kat_detailed(algo, vars, af); |