aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/block/block_cipher.cpp2
-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.h19
-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
-rw-r--r--src/lib/hash/skein/info.txt2
-rw-r--r--src/lib/hash/skein/skein_512.h2
9 files changed, 27 insertions, 8 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 {
diff --git a/src/lib/hash/skein/info.txt b/src/lib/hash/skein/info.txt
index 3de41289a..3445c376f 100644
--- a/src/lib/hash/skein/info.txt
+++ b/src/lib/hash/skein/info.txt
@@ -3,5 +3,5 @@ SKEIN_512 -> 20131128
</defines>
<requires>
-threefish
+threefish_512
</requires>
diff --git a/src/lib/hash/skein/skein_512.h b/src/lib/hash/skein/skein_512.h
index a602b4b5e..8bf6e3e7a 100644
--- a/src/lib/hash/skein/skein_512.h
+++ b/src/lib/hash/skein/skein_512.h
@@ -9,7 +9,7 @@
#define BOTAN_SKEIN_512_H_
#include <botan/hash.h>
-#include <botan/threefish.h>
+#include <botan/threefish_512.h>
#include <string>
#include <memory>