From d7d598c27211cae8fb173270f0d2e5d815c8191d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2015 17:04:59 +0300 Subject: cxx: implement more stuff --- cxx/include/aesnixx/aes.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cxx/include/aesnixx/aes.hpp') 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 - 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); } -- cgit v1.2.3