diff options
author | lloyd <[email protected]> | 2008-09-05 12:46:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-05 12:46:18 +0000 |
commit | e292d9c1263fc74c26b26b9bd6f879ab25cc19ee (patch) | |
tree | 73953a1061223fc65e9236d232caf04bbc5a1aa4 /checks/common.h | |
parent | a8973ceb0c0f70e67e30b1c36e4ed833bc158445 (diff) |
Use the Timer class for all benchmarking
Diffstat (limited to 'checks/common.h')
-rw-r--r-- | checks/common.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/checks/common.h b/checks/common.h index 06cb638ee..ac3daaf76 100644 --- a/checks/common.h +++ b/checks/common.h @@ -37,9 +37,6 @@ std::vector<std::string> parse(const std::string& line); std::string hex_encode(const byte in[], u32bit len); Botan::SecureVector<byte> decode_hex(const std::string&); -Botan::u64bit get_clock(); -Botan::u64bit get_ticks(); - Botan::Filter* lookup(const std::string& algname, const std::vector<std::string>& params, const std::string& section); @@ -70,7 +67,7 @@ class Fixed_Output_RNG : public Botan::RandomNumberGenerator return out; } - void randomize(byte out[], u32bit len) throw() + void randomize(byte out[], u32bit len) { for(u32bit j = 0; j != len; j++) out[j] = random(); |