aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 01:26:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 01:26:37 +0300
commit46d9e1918a3d9dd1eb2983159ef132933bce9e19 (patch)
tree8c9abe55abf49b555201f09512772b9853e6551d /cxx
parentuse macros to get rid of repetitive code (diff)
downloadaes-tools-46d9e1918a3d9dd1eb2983159ef132933bce9e19.tar.gz
aes-tools-46d9e1918a3d9dd1eb2983159ef132933bce9e19.zip
refactoring
Diffstat (limited to 'cxx')
-rw-r--r--cxx/include/aesnixx/data.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cxx/include/aesnixx/data.hpp b/cxx/include/aesnixx/data.hpp
index 98b5c98..1a93b7c 100644
--- a/cxx/include/aesnixx/data.hpp
+++ b/cxx/include/aesnixx/data.hpp
@@ -41,7 +41,7 @@ namespace aesni
aesni_store_block128_aligned(dest, src);
}
- inline Block128 xor_block(Block128& a, Block128& b)
+ inline Block128 xor_blocks(Block128& a, Block128& b)
{
return aesni_xor_block128(a, b);
}
@@ -51,7 +51,7 @@ namespace aesni
return aesni_reverse_byte_order_block128(block);
}
- inline Block128 inc(Block128& block)
+ inline Block128 inc_block(Block128& block)
{
return aesni_inc_block128(block);
}