aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx/include/aesnixx/aes.hpp
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 /cxx/include/aesnixx/aes.hpp
parenttest: README update (diff)
downloadaes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.tar.gz
aes-tools-d7d598c27211cae8fb173270f0d2e5d815c8191d.zip
cxx: implement more stuff
Diffstat (limited to 'cxx/include/aesnixx/aes.hpp')
-rw-r--r--cxx/include/aesnixx/aes.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cxx/include/aesnixx/aes.hpp b/cxx/include/aesnixx/aes.hpp
index d30fd60..55dfa0e 100644
--- a/cxx/include/aesnixx/aes.hpp
+++ b/cxx/include/aesnixx/aes.hpp
@@ -124,7 +124,7 @@ namespace aesni
typedef AesNI_Aes256_RoundKeys RoundKeys256;
template <typename RoundKeysT>
- inline std::size_t get_number_of_keys(const RoundKeysT& round_keys)
+ inline std::size_t get_number_of_rounds(const RoundKeysT& round_keys)
{
return sizeof(round_keys) / sizeof(Block128);
}