diff options
author | Jack Lloyd <[email protected]> | 2018-03-06 11:16:49 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-06 11:17:58 -0500 |
commit | 29d740f468ca6feb9782d65c675be7f4ced3cedc (patch) | |
tree | bd76ad5d5feda4b6ca874b791940251887921c8f /src/lib/block | |
parent | d96477e0c2239ec7a8ef721333be1e2e70e1abef (diff) |
Rename threefish module to threefish_512
GH #1477
Diffstat (limited to 'src/lib/block')
-rw-r--r-- | src/lib/block/block_cipher.cpp | 2 | ||||
-rw-r--r-- | src/lib/block/threefish_512/info.txt (renamed from src/lib/block/threefish/info.txt) | 0 | ||||
-rw-r--r-- | src/lib/block/threefish_512/threefish.h | 19 | ||||
-rw-r--r-- | src/lib/block/threefish_512/threefish_512.cpp (renamed from src/lib/block/threefish/threefish.cpp) | 2 | ||||
-rw-r--r-- | src/lib/block/threefish_512/threefish_512.h (renamed from src/lib/block/threefish/threefish.h) | 6 | ||||
-rw-r--r-- | src/lib/block/threefish_512/threefish_512_avx2/info.txt (renamed from src/lib/block/threefish/threefish_avx2/info.txt) | 0 | ||||
-rw-r--r-- | src/lib/block/threefish_512/threefish_512_avx2/threefish_avx2.cpp (renamed from src/lib/block/threefish/threefish_avx2/threefish_avx2.cpp) | 2 |
7 files changed, 25 insertions, 6 deletions
diff --git a/src/lib/block/block_cipher.cpp b/src/lib/block/block_cipher.cpp index 8be2de664..544cbbc36 100644 --- a/src/lib/block/block_cipher.cpp +++ b/src/lib/block/block_cipher.cpp @@ -86,7 +86,7 @@ #endif #if defined(BOTAN_HAS_THREEFISH_512) - #include <botan/threefish.h> + #include <botan/threefish_512.h> #endif #if defined(BOTAN_HAS_XTEA) diff --git a/src/lib/block/threefish/info.txt b/src/lib/block/threefish_512/info.txt index e12223679..e12223679 100644 --- a/src/lib/block/threefish/info.txt +++ b/src/lib/block/threefish_512/info.txt diff --git a/src/lib/block/threefish_512/threefish.h b/src/lib/block/threefish_512/threefish.h new file mode 100644 index 000000000..2c2a2750f --- /dev/null +++ b/src/lib/block/threefish_512/threefish.h @@ -0,0 +1,19 @@ +/* +* Threefish +* (C) 2013,2014 Jack Lloyd +* +* Botan is released under the Simplified BSD License (see license.txt) +*/ + +#ifndef BOTAN_THREEFISH_H_ +#define BOTAN_THREEFISH_H_ + +#if defined(__GNUC__) + #warning "botan/threefish.h is deprecated" +#elif defined(_MSC_VER) + #pragma message ("botan/threefish.h is deprecated") +#endif + +#include <botan/threefish_512.h> + +#endif diff --git a/src/lib/block/threefish/threefish.cpp b/src/lib/block/threefish_512/threefish_512.cpp index 60f793d64..0e6ba8889 100644 --- a/src/lib/block/threefish/threefish.cpp +++ b/src/lib/block/threefish_512/threefish_512.cpp @@ -5,7 +5,7 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include <botan/threefish.h> +#include <botan/threefish_512.h> #include <botan/loadstor.h> #include <botan/cpuid.h> diff --git a/src/lib/block/threefish/threefish.h b/src/lib/block/threefish_512/threefish_512.h index 6b87c3eb2..24f15190c 100644 --- a/src/lib/block/threefish/threefish.h +++ b/src/lib/block/threefish_512/threefish_512.h @@ -1,12 +1,12 @@ /* -* Threefish +* Threefish-512 * (C) 2013,2014 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_THREEFISH_H_ -#define BOTAN_THREEFISH_H_ +#ifndef BOTAN_THREEFISH_512_H_ +#define BOTAN_THREEFISH_512_H_ #include <botan/block_cipher.h> diff --git a/src/lib/block/threefish/threefish_avx2/info.txt b/src/lib/block/threefish_512/threefish_512_avx2/info.txt index bc2675fb4..bc2675fb4 100644 --- a/src/lib/block/threefish/threefish_avx2/info.txt +++ b/src/lib/block/threefish_512/threefish_512_avx2/info.txt diff --git a/src/lib/block/threefish/threefish_avx2/threefish_avx2.cpp b/src/lib/block/threefish_512/threefish_512_avx2/threefish_avx2.cpp index b8e2320ae..26dc40095 100644 --- a/src/lib/block/threefish/threefish_avx2/threefish_avx2.cpp +++ b/src/lib/block/threefish_512/threefish_512_avx2/threefish_avx2.cpp @@ -5,7 +5,7 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#include <botan/threefish.h> +#include <botan/threefish_512.h> #include <immintrin.h> namespace Botan { |