aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-18 17:04:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-18 17:04:59 +0300
commitd7d598c27211cae8fb173270f0d2e5d815c8191d (patch)
tree8efd9194205ebd6db0e7f8327555e0577c636f31 /examples
parenttest: README update (diff)
downloadaes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.tar.gz
aes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.zip
cxx: implement more stuff
Diffstat (limited to 'examples')
-rw-r--r--examples/common.hpp2
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";
}