diff options
Diffstat (limited to 'checks/bigint.cpp')
-rw-r--r-- | checks/bigint.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/checks/bigint.cpp b/checks/bigint.cpp index 5853e8a73..84bee4eaa 100644 --- a/checks/bigint.cpp +++ b/checks/bigint.cpp @@ -11,6 +11,7 @@ using namespace Botan; #include "common.h" +#include "validate.h" #define DEBUG 0 @@ -122,6 +123,8 @@ u32bit do_bigint_tests(const std::string& filename) return errors; } +namespace { + // c==expected, d==a op b, e==a op= b u32bit results(std::string op, const BigInt& a, const BigInt& b, @@ -154,6 +157,8 @@ u32bit results(std::string op, } } +} + u32bit check_add(const std::vector<std::string>& args) { BigInt a(args[0]); |