aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx/include/aesxx/api.hpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-05-19 04:48:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-05-19 04:48:59 +0300
commitf0393777befc4ff1024513dab3ab6bad0e7ec45f (patch)
tree97571103c522ff60f96a8fdde35a0bbee9532837 /cxx/include/aesxx/api.hpp
parentrename the project (diff)
downloadaes-tools-f0393777befc4ff1024513dab3ab6bad0e7ec45f.tar.gz
aes-tools-f0393777befc4ff1024513dab3ab6bad0e7ec45f.zip
'aesni' -> 'aes'
Diffstat (limited to 'cxx/include/aesxx/api.hpp')
-rw-r--r--cxx/include/aesxx/api.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cxx/include/aesxx/api.hpp b/cxx/include/aesxx/api.hpp
index 6995ae2..0b183a8 100644
--- a/cxx/include/aesxx/api.hpp
+++ b/cxx/include/aesxx/api.hpp
@@ -16,7 +16,7 @@
#include <string>
#include <type_traits>
-namespace aesni
+namespace aes
{
template <Algorithm algorithm>
struct Types;
@@ -129,7 +129,7 @@ namespace aesni
const typename Types<algorithm>::Block& plaintext,
typename Types<algorithm>::Block& ciphertext)
{
- aesni::encrypt_block<algorithm, mode>(
+ aes::encrypt_block<algorithm, mode>(
plaintext, encryption_keys, iv, ciphertext);
}
@@ -161,7 +161,7 @@ namespace aesni
const typename Types<algorithm>::Block& ciphertext,
typename Types<algorithm>::Block& plaintext)
{
- aesni::decrypt_block<algorithm, mode>(
+ aes::decrypt_block<algorithm, mode>(
ciphertext, decryption_keys, iv, plaintext);
}