diff options
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"; } |