diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-04 06:14:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-04 06:14:35 +0300 |
commit | 09c2543e905ddd2915e628b0e2c0c7e9c596f2bb (patch) | |
tree | e0a860c3b22d3233ef2d762275e91f2eabc448bd /examples | |
parent | grammar tweaks (diff) | |
download | aes-tools-09c2543e905ddd2915e628b0e2c0c7e9c596f2bb.tar.gz aes-tools-09c2543e905ddd2915e628b0e2c0c7e9c596f2bb.zip |
remove redundant file suffixes
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 5 | ||||
-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 |
16 files changed, 3 insertions, 2 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 |