aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-19 18:12:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-19 18:12:39 +0300
commitc162067e7407655040128b510481c01a762ac7d3 (patch)
treef105b0204b1926f2c8d13acf22c0f1f1ba5cb0c8
parenttest: restore specialized block encryption utils (diff)
downloadaes-tools-c162067e7407655040128b510481c01a762ac7d3.tar.gz
aes-tools-c162067e7407655040128b510481c01a762ac7d3.zip
rename executables
-rw-r--r--test/CMakeLists.txt16
-rw-r--r--test/aes_common.hpp (renamed from test/common_aes.hpp)0
-rw-r--r--test/aes_decrypt_block.cpp (renamed from test/decrypt_block_aes.cpp)2
-rw-r--r--test/aes_encrypt_block.cpp (renamed from test/encrypt_block_aes.cpp)2
-rw-r--r--utils/CMakeLists.txt16
-rw-r--r--utils/aes_common.hpp (renamed from utils/common_aes.hpp)0
-rw-r--r--utils/aes_decrypt_file.cpp (renamed from utils/decrypt_file_aes.cpp)2
-rw-r--r--utils/aes_encrypt_file.cpp (renamed from utils/encrypt_file_aes.cpp)2
8 files changed, 20 insertions, 20 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0ee556f..2d58160 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -26,12 +26,12 @@ test(aes256ctr)
find_package(Boost REQUIRED COMPONENTS program_options)
-add_executable(test_encrypt_block_aes encrypt_block_aes.cpp common_aes.hpp)
-target_include_directories(test_encrypt_block_aes PRIVATE ${Boost_INCLUDE_DIRS})
-target_link_libraries(test_encrypt_block_aes libaesni libaesnixx ${Boost_LIBRARIES})
-set_target_properties(test_encrypt_block_aes PROPERTIES OUTPUT_NAME encrypt_block_aes)
+add_executable(test_aes_encrypt_block aes_encrypt_block.cpp aes_common.hpp)
+target_include_directories(test_aes_encrypt_block PRIVATE ${Boost_INCLUDE_DIRS})
+target_link_libraries(test_aes_encrypt_block libaesni libaesnixx ${Boost_LIBRARIES})
+set_target_properties(test_aes_encrypt_block PROPERTIES OUTPUT_NAME aes_encrypt_block)
-add_executable(test_decrypt_block_aes decrypt_block_aes.cpp common_aes.hpp)
-target_include_directories(test_decrypt_block_aes PRIVATE ${Boost_INCLUDE_DIRS})
-target_link_libraries(test_decrypt_block_aes libaesni libaesnixx ${Boost_LIBRARIES})
-set_target_properties(test_decrypt_block_aes PROPERTIES OUTPUT_NAME decrypt_block_aes)
+add_executable(test_aes_decrypt_block aes_decrypt_block.cpp aes_common.hpp)
+target_include_directories(test_aes_decrypt_block PRIVATE ${Boost_INCLUDE_DIRS})
+target_link_libraries(test_aes_decrypt_block libaesni libaesnixx ${Boost_LIBRARIES})
+set_target_properties(test_aes_decrypt_block PROPERTIES OUTPUT_NAME aes_decrypt_block)
diff --git a/test/common_aes.hpp b/test/aes_common.hpp
index 08b92f4..08b92f4 100644
--- a/test/common_aes.hpp
+++ b/test/aes_common.hpp
diff --git a/test/decrypt_block_aes.cpp b/test/aes_decrypt_block.cpp
index 6c5e6f0..9898d4e 100644
--- a/test/decrypt_block_aes.cpp
+++ b/test/aes_decrypt_block.cpp
@@ -6,7 +6,7 @@
* See LICENSE.txt for details.
*/
-#include "common_aes.hpp"
+#include "aes_common.hpp"
#include <aesni/all.h>
diff --git a/test/encrypt_block_aes.cpp b/test/aes_encrypt_block.cpp
index d3d3705..9458831 100644
--- a/test/encrypt_block_aes.cpp
+++ b/test/aes_encrypt_block.cpp
@@ -6,7 +6,7 @@
* See LICENSE.txt for details.
*/
-#include "common_aes.hpp"
+#include "aes_common.hpp"
#include <aesni/all.h>
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index f38eeb8..110aa7e 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -9,12 +9,12 @@ util(aes128ecb_decrypt_file)
find_package(Boost REQUIRED COMPONENTS program_options)
-add_executable(util_encrypt_file_aes encrypt_file_aes.cpp common_aes.hpp)
-target_include_directories(util_encrypt_file_aes PRIVATE ${Boost_INCLUDE_DIRS})
-target_link_libraries(util_encrypt_file_aes libaesni libaesnixx ${Boost_LIBRARIES})
-set_target_properties(util_encrypt_file_aes PROPERTIES OUTPUT_NAME encrypt_file_aes)
+add_executable(util_aes_encrypt_file aes_encrypt_file.cpp aes_common.hpp)
+target_include_directories(util_aes_encrypt_file PRIVATE ${Boost_INCLUDE_DIRS})
+target_link_libraries(util_aes_encrypt_file libaesni libaesnixx ${Boost_LIBRARIES})
+set_target_properties(util_aes_encrypt_file PROPERTIES OUTPUT_NAME aes_encrypt_file)
-add_executable(util_decrypt_file_aes decrypt_file_aes.cpp common_aes.hpp)
-target_include_directories(util_decrypt_file_aes PRIVATE ${Boost_INCLUDE_DIRS})
-target_link_libraries(util_decrypt_file_aes libaesni libaesnixx ${Boost_LIBRARIES})
-set_target_properties(util_decrypt_file_aes PROPERTIES OUTPUT_NAME decrypt_file_aes)
+add_executable(util_aes_decrypt_file aes_decrypt_file.cpp aes_common.hpp)
+target_include_directories(util_aes_decrypt_file PRIVATE ${Boost_INCLUDE_DIRS})
+target_link_libraries(util_aes_decrypt_file libaesni libaesnixx ${Boost_LIBRARIES})
+set_target_properties(util_aes_decrypt_file PROPERTIES OUTPUT_NAME aes_decrypt_file)
diff --git a/utils/common_aes.hpp b/utils/aes_common.hpp
index 630f143..630f143 100644
--- a/utils/common_aes.hpp
+++ b/utils/aes_common.hpp
diff --git a/utils/decrypt_file_aes.cpp b/utils/aes_decrypt_file.cpp
index 0112f4a..af0d119 100644
--- a/utils/decrypt_file_aes.cpp
+++ b/utils/aes_decrypt_file.cpp
@@ -6,7 +6,7 @@
* See LICENSE.txt for details.
*/
-#include "common_aes.hpp"
+#include "aes_common.hpp"
#include <aesni/all.h>
diff --git a/utils/encrypt_file_aes.cpp b/utils/aes_encrypt_file.cpp
index dae7c57..0b367d9 100644
--- a/utils/encrypt_file_aes.cpp
+++ b/utils/aes_encrypt_file.cpp
@@ -6,7 +6,7 @@
* See LICENSE.txt for details.
*/
-#include "common_aes.hpp"
+#include "aes_common.hpp"
#include <aesni/all.h>