aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--examples/CMakeLists.txt5
-rw-r--r--examples/aes128cbc.c (renamed from examples/aes128cbc_example.c)0
-rw-r--r--examples/aes128cfb.c (renamed from examples/aes128cfb_example.c)0
-rw-r--r--examples/aes128ctr.c (renamed from examples/aes128ctr_example.c)0
-rw-r--r--examples/aes128ecb.c (renamed from examples/aes128ecb_example.c)0
-rw-r--r--examples/aes128ofb.c (renamed from examples/aes128ofb_example.c)0
-rw-r--r--examples/aes192cbc.c (renamed from examples/aes192cbc_example.c)0
-rw-r--r--examples/aes192cfb.c (renamed from examples/aes192cfb_example.c)0
-rw-r--r--examples/aes192ctr.c (renamed from examples/aes192ctr_example.c)0
-rw-r--r--examples/aes192ecb.c (renamed from examples/aes192ecb_example.c)0
-rw-r--r--examples/aes192ofb.c (renamed from examples/aes192ofb_example.c)0
-rw-r--r--examples/aes256cbc.c (renamed from examples/aes256cbc_example.c)0
-rw-r--r--examples/aes256cfb.c (renamed from examples/aes256cfb_example.c)0
-rw-r--r--examples/aes256ctr.c (renamed from examples/aes256ctr_example.c)0
-rw-r--r--examples/aes256ecb.c (renamed from examples/aes256ecb_example.c)0
-rw-r--r--examples/aes256ofb.c (renamed from examples/aes256ofb_example.c)0
-rw-r--r--test/CMakeLists.txt10
-rw-r--r--test/aes128cbc_decrypt.c (renamed from test/aes128cbc_decrypt_block.c)0
-rw-r--r--test/aes128cbc_encrypt.c (renamed from test/aes128cbc_encrypt_block.c)0
-rw-r--r--test/aes128cfb_decrypt.c (renamed from test/aes128cfb_decrypt_block.c)0
-rw-r--r--test/aes128cfb_encrypt.c (renamed from test/aes128cfb_encrypt_block.c)0
-rw-r--r--test/aes128ctr_decrypt.c (renamed from test/aes128ctr_decrypt_block.c)0
-rw-r--r--test/aes128ctr_encrypt.c (renamed from test/aes128ctr_encrypt_block.c)0
-rw-r--r--test/aes128ecb_decrypt.c (renamed from test/aes128ecb_decrypt_block.c)0
-rw-r--r--test/aes128ecb_encrypt.c (renamed from test/aes128ecb_encrypt_block.c)0
-rw-r--r--test/aes128ofb_decrypt.c (renamed from test/aes128ofb_decrypt_block.c)0
-rw-r--r--test/aes128ofb_encrypt.c (renamed from test/aes128ofb_encrypt_block.c)0
-rw-r--r--test/aes192cbc_decrypt.c (renamed from test/aes192cbc_decrypt_block.c)0
-rw-r--r--test/aes192cbc_encrypt.c (renamed from test/aes192cbc_encrypt_block.c)0
-rw-r--r--test/aes192cfb_decrypt.c (renamed from test/aes192cfb_decrypt_block.c)0
-rw-r--r--test/aes192cfb_encrypt.c (renamed from test/aes192cfb_encrypt_block.c)0
-rw-r--r--test/aes192ctr_decrypt.c (renamed from test/aes192ctr_decrypt_block.c)0
-rw-r--r--test/aes192ctr_encrypt.c (renamed from test/aes192ctr_encrypt_block.c)0
-rw-r--r--test/aes192ecb_decrypt.c (renamed from test/aes192ecb_decrypt_block.c)0
-rw-r--r--test/aes192ecb_encrypt.c (renamed from test/aes192ecb_encrypt_block.c)0
-rw-r--r--test/aes192ofb_decrypt.c (renamed from test/aes192ofb_decrypt_block.c)0
-rw-r--r--test/aes192ofb_encrypt.c (renamed from test/aes192ofb_encrypt_block.c)0
-rw-r--r--test/aes256cbc_decrypt.c (renamed from test/aes256cbc_decrypt_block.c)0
-rw-r--r--test/aes256cbc_encrypt.c (renamed from test/aes256cbc_encrypt_block.c)0
-rw-r--r--test/aes256cfb_decrypt.c (renamed from test/aes256cfb_decrypt_block.c)0
-rw-r--r--test/aes256cfb_encrypt.c (renamed from test/aes256cfb_encrypt_block.c)0
-rw-r--r--test/aes256ctr_decrypt.c (renamed from test/aes256ctr_decrypt_block.c)0
-rw-r--r--test/aes256ctr_encrypt.c (renamed from test/aes256ctr_encrypt_block.c)0
-rw-r--r--test/aes256ecb_decrypt.c (renamed from test/aes256ecb_decrypt_block.c)0
-rw-r--r--test/aes256ecb_encrypt.c (renamed from test/aes256ecb_encrypt_block.c)0
-rw-r--r--test/aes256ofb_decrypt.c (renamed from test/aes256ofb_decrypt_block.c)0
-rw-r--r--test/aes256ofb_encrypt.c (renamed from test/aes256ofb_encrypt_block.c)0
47 files changed, 9 insertions, 6 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index db2b2c4..8cf4d6a 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,8 +1,9 @@
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")
macro(example prefix)
- add_executable(${prefix}_example ${prefix}_example.c)
- target_link_libraries(${prefix}_example libaesni)
+ add_executable(example_${prefix} ${prefix}.c)
+ target_link_libraries(example_${prefix} libaesni)
+ set_target_properties(example_${prefix} PROPERTIES OUTPUT_NAME ${prefix})
endmacro()
example(aes128ecb)
diff --git a/examples/aes128cbc_example.c b/examples/aes128cbc.c
index bf2c601..bf2c601 100644
--- a/examples/aes128cbc_example.c
+++ b/examples/aes128cbc.c
diff --git a/examples/aes128cfb_example.c b/examples/aes128cfb.c
index c3b7cd2..c3b7cd2 100644
--- a/examples/aes128cfb_example.c
+++ b/examples/aes128cfb.c
diff --git a/examples/aes128ctr_example.c b/examples/aes128ctr.c
index 46251e8..46251e8 100644
--- a/examples/aes128ctr_example.c
+++ b/examples/aes128ctr.c
diff --git a/examples/aes128ecb_example.c b/examples/aes128ecb.c
index 1d8e7ae..1d8e7ae 100644
--- a/examples/aes128ecb_example.c
+++ b/examples/aes128ecb.c
diff --git a/examples/aes128ofb_example.c b/examples/aes128ofb.c
index 51f0a8d..51f0a8d 100644
--- a/examples/aes128ofb_example.c
+++ b/examples/aes128ofb.c
diff --git a/examples/aes192cbc_example.c b/examples/aes192cbc.c
index 522cc09..522cc09 100644
--- a/examples/aes192cbc_example.c
+++ b/examples/aes192cbc.c
diff --git a/examples/aes192cfb_example.c b/examples/aes192cfb.c
index 598516a..598516a 100644
--- a/examples/aes192cfb_example.c
+++ b/examples/aes192cfb.c
diff --git a/examples/aes192ctr_example.c b/examples/aes192ctr.c
index 6ba8430..6ba8430 100644
--- a/examples/aes192ctr_example.c
+++ b/examples/aes192ctr.c
diff --git a/examples/aes192ecb_example.c b/examples/aes192ecb.c
index 5aae0bc..5aae0bc 100644
--- a/examples/aes192ecb_example.c
+++ b/examples/aes192ecb.c
diff --git a/examples/aes192ofb_example.c b/examples/aes192ofb.c
index 1e561cb..1e561cb 100644
--- a/examples/aes192ofb_example.c
+++ b/examples/aes192ofb.c
diff --git a/examples/aes256cbc_example.c b/examples/aes256cbc.c
index b727bec..b727bec 100644
--- a/examples/aes256cbc_example.c
+++ b/examples/aes256cbc.c
diff --git a/examples/aes256cfb_example.c b/examples/aes256cfb.c
index 9541ddd..9541ddd 100644
--- a/examples/aes256cfb_example.c
+++ b/examples/aes256cfb.c
diff --git a/examples/aes256ctr_example.c b/examples/aes256ctr.c
index 647d668..647d668 100644
--- a/examples/aes256ctr_example.c
+++ b/examples/aes256ctr.c
diff --git a/examples/aes256ecb_example.c b/examples/aes256ecb.c
index 31d05d7..31d05d7 100644
--- a/examples/aes256ecb_example.c
+++ b/examples/aes256ecb.c
diff --git a/examples/aes256ofb_example.c b/examples/aes256ofb.c
index 4b2248a..4b2248a 100644
--- a/examples/aes256ofb_example.c
+++ b/examples/aes256ofb.c
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index f4460f0..a024d40 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,11 +1,13 @@
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")
macro(test prefix)
- add_executable(${prefix}_encrypt_block ${prefix}_encrypt_block.c)
- target_link_libraries(${prefix}_encrypt_block libaesni)
+ add_executable(test_${prefix}_encrypt ${prefix}_encrypt.c)
+ target_link_libraries(test_${prefix}_encrypt libaesni)
+ set_target_properties(test_${prefix}_encrypt PROPERTIES OUTPUT_NAME ${prefix}_encrypt)
- add_executable(${prefix}_decrypt_block ${prefix}_decrypt_block.c)
- target_link_libraries(${prefix}_decrypt_block libaesni)
+ add_executable(test_${prefix}_decrypt ${prefix}_decrypt.c)
+ target_link_libraries(test_${prefix}_decrypt libaesni)
+ set_target_properties(test_${prefix}_decrypt PROPERTIES OUTPUT_NAME ${prefix}_decrypt)
endmacro()
test(aes128ecb)
diff --git a/test/aes128cbc_decrypt_block.c b/test/aes128cbc_decrypt.c
index 791110a..791110a 100644
--- a/test/aes128cbc_decrypt_block.c
+++ b/test/aes128cbc_decrypt.c
diff --git a/test/aes128cbc_encrypt_block.c b/test/aes128cbc_encrypt.c
index a4a1675..a4a1675 100644
--- a/test/aes128cbc_encrypt_block.c
+++ b/test/aes128cbc_encrypt.c
diff --git a/test/aes128cfb_decrypt_block.c b/test/aes128cfb_decrypt.c
index bfc7ea7..bfc7ea7 100644
--- a/test/aes128cfb_decrypt_block.c
+++ b/test/aes128cfb_decrypt.c
diff --git a/test/aes128cfb_encrypt_block.c b/test/aes128cfb_encrypt.c
index b4e2885..b4e2885 100644
--- a/test/aes128cfb_encrypt_block.c
+++ b/test/aes128cfb_encrypt.c
diff --git a/test/aes128ctr_decrypt_block.c b/test/aes128ctr_decrypt.c
index 313e5d9..313e5d9 100644
--- a/test/aes128ctr_decrypt_block.c
+++ b/test/aes128ctr_decrypt.c
diff --git a/test/aes128ctr_encrypt_block.c b/test/aes128ctr_encrypt.c
index e5372c2..e5372c2 100644
--- a/test/aes128ctr_encrypt_block.c
+++ b/test/aes128ctr_encrypt.c
diff --git a/test/aes128ecb_decrypt_block.c b/test/aes128ecb_decrypt.c
index 70c7285..70c7285 100644
--- a/test/aes128ecb_decrypt_block.c
+++ b/test/aes128ecb_decrypt.c
diff --git a/test/aes128ecb_encrypt_block.c b/test/aes128ecb_encrypt.c
index 8f0bf0a..8f0bf0a 100644
--- a/test/aes128ecb_encrypt_block.c
+++ b/test/aes128ecb_encrypt.c
diff --git a/test/aes128ofb_decrypt_block.c b/test/aes128ofb_decrypt.c
index 74fb314..74fb314 100644
--- a/test/aes128ofb_decrypt_block.c
+++ b/test/aes128ofb_decrypt.c
diff --git a/test/aes128ofb_encrypt_block.c b/test/aes128ofb_encrypt.c
index df30777..df30777 100644
--- a/test/aes128ofb_encrypt_block.c
+++ b/test/aes128ofb_encrypt.c
diff --git a/test/aes192cbc_decrypt_block.c b/test/aes192cbc_decrypt.c
index 6a953ad..6a953ad 100644
--- a/test/aes192cbc_decrypt_block.c
+++ b/test/aes192cbc_decrypt.c
diff --git a/test/aes192cbc_encrypt_block.c b/test/aes192cbc_encrypt.c
index a1269b4..a1269b4 100644
--- a/test/aes192cbc_encrypt_block.c
+++ b/test/aes192cbc_encrypt.c
diff --git a/test/aes192cfb_decrypt_block.c b/test/aes192cfb_decrypt.c
index 906ecf9..906ecf9 100644
--- a/test/aes192cfb_decrypt_block.c
+++ b/test/aes192cfb_decrypt.c
diff --git a/test/aes192cfb_encrypt_block.c b/test/aes192cfb_encrypt.c
index 3261a03..3261a03 100644
--- a/test/aes192cfb_encrypt_block.c
+++ b/test/aes192cfb_encrypt.c
diff --git a/test/aes192ctr_decrypt_block.c b/test/aes192ctr_decrypt.c
index 01258ea..01258ea 100644
--- a/test/aes192ctr_decrypt_block.c
+++ b/test/aes192ctr_decrypt.c
diff --git a/test/aes192ctr_encrypt_block.c b/test/aes192ctr_encrypt.c
index 9a29005..9a29005 100644
--- a/test/aes192ctr_encrypt_block.c
+++ b/test/aes192ctr_encrypt.c
diff --git a/test/aes192ecb_decrypt_block.c b/test/aes192ecb_decrypt.c
index e6e749a..e6e749a 100644
--- a/test/aes192ecb_decrypt_block.c
+++ b/test/aes192ecb_decrypt.c
diff --git a/test/aes192ecb_encrypt_block.c b/test/aes192ecb_encrypt.c
index 2b4f688..2b4f688 100644
--- a/test/aes192ecb_encrypt_block.c
+++ b/test/aes192ecb_encrypt.c
diff --git a/test/aes192ofb_decrypt_block.c b/test/aes192ofb_decrypt.c
index 268b00c..268b00c 100644
--- a/test/aes192ofb_decrypt_block.c
+++ b/test/aes192ofb_decrypt.c
diff --git a/test/aes192ofb_encrypt_block.c b/test/aes192ofb_encrypt.c
index 8c866c3..8c866c3 100644
--- a/test/aes192ofb_encrypt_block.c
+++ b/test/aes192ofb_encrypt.c
diff --git a/test/aes256cbc_decrypt_block.c b/test/aes256cbc_decrypt.c
index 52abaff..52abaff 100644
--- a/test/aes256cbc_decrypt_block.c
+++ b/test/aes256cbc_decrypt.c
diff --git a/test/aes256cbc_encrypt_block.c b/test/aes256cbc_encrypt.c
index 0b10f54..0b10f54 100644
--- a/test/aes256cbc_encrypt_block.c
+++ b/test/aes256cbc_encrypt.c
diff --git a/test/aes256cfb_decrypt_block.c b/test/aes256cfb_decrypt.c
index d3f6075..d3f6075 100644
--- a/test/aes256cfb_decrypt_block.c
+++ b/test/aes256cfb_decrypt.c
diff --git a/test/aes256cfb_encrypt_block.c b/test/aes256cfb_encrypt.c
index c14e931..c14e931 100644
--- a/test/aes256cfb_encrypt_block.c
+++ b/test/aes256cfb_encrypt.c
diff --git a/test/aes256ctr_decrypt_block.c b/test/aes256ctr_decrypt.c
index db7ae5c..db7ae5c 100644
--- a/test/aes256ctr_decrypt_block.c
+++ b/test/aes256ctr_decrypt.c
diff --git a/test/aes256ctr_encrypt_block.c b/test/aes256ctr_encrypt.c
index d812a86..d812a86 100644
--- a/test/aes256ctr_encrypt_block.c
+++ b/test/aes256ctr_encrypt.c
diff --git a/test/aes256ecb_decrypt_block.c b/test/aes256ecb_decrypt.c
index a290eed..a290eed 100644
--- a/test/aes256ecb_decrypt_block.c
+++ b/test/aes256ecb_decrypt.c
diff --git a/test/aes256ecb_encrypt_block.c b/test/aes256ecb_encrypt.c
index 2a4899e..2a4899e 100644
--- a/test/aes256ecb_encrypt_block.c
+++ b/test/aes256ecb_encrypt.c
diff --git a/test/aes256ofb_decrypt_block.c b/test/aes256ofb_decrypt.c
index 282dc6a..282dc6a 100644
--- a/test/aes256ofb_decrypt_block.c
+++ b/test/aes256ofb_decrypt.c
diff --git a/test/aes256ofb_encrypt_block.c b/test/aes256ofb_encrypt.c
index b74f29f..b74f29f 100644
--- a/test/aes256ofb_encrypt_block.c
+++ b/test/aes256ofb_encrypt.c