diff options
author | lloyd <[email protected]> | 2009-09-23 19:35:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-23 19:35:33 +0000 |
commit | fec26d84bd9e3dd35d68429d91723eb2f56b7ff6 (patch) | |
tree | 9a253d67615d68abae5018148c3a596311386831 /src/engine/def_engine/def_mode.cpp | |
parent | 858cc406f5c28ba386c444124cba78153a5dee6d (diff) |
In the benchmark code, set a random key for the block and stream ciphers.
This, I think, was what was causing the OpenSSL AES code to crash (without
a key being set, the rounds are unset and probably causes the code to loop
out past the end of an array somewhere).
Sadly, this also confirms that OpenSSL's AES is much faster than Botan's:
AES-128: 115.032 [core] 152.994 [openssl]
AES-192: 98.6724 [core] 130.087 [openssl]
AES-256: 86.6348 [core] 113.608 [openssl]
Definitely some improvement can be made there! :(
Diffstat (limited to 'src/engine/def_engine/def_mode.cpp')
0 files changed, 0 insertions, 0 deletions