diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-18 17:04:59 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-18 17:04:59 +0300 |
commit | d7d598c27211cae8fb173270f0d2e5d815c8191d (patch) | |
tree | 8efd9194205ebd6db0e7f8327555e0577c636f31 /examples | |
parent | test: README update (diff) | |
download | aes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.tar.gz aes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.zip |
cxx: implement more stuff
Diffstat (limited to 'examples')
-rw-r--r-- | examples/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.hpp b/examples/common.hpp index d7b3394..25ee87d 100644 --- a/examples/common.hpp +++ b/examples/common.hpp @@ -86,7 +86,7 @@ namespace void dump_schedule(const char* name, const KeyScheduleT& schedule) { std::cout << name << ":\n"; - for (std::size_t i = 0; i < aesni::aes::get_number_of_keys(schedule); ++i) + for (std::size_t i = 0; i < aesni::aes::get_number_of_rounds(schedule); ++i) std::cout << "\t[" << i << "]: " << aesni::aes::to_string(schedule.keys[i]) << "\n"; std::cout << "\n"; } |