cryptopp: bump to version 7.0.0
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 9 Apr 2018 21:03:29 +0000 (23:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 9 Apr 2018 21:42:28 +0000 (23:42 +0200)
Remove patch (applied upstream)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/cryptopp/0001-Fix-GCC-version-for-RDSEED-intrinsic.patch [deleted file]
package/cryptopp/cryptopp.hash
package/cryptopp/cryptopp.mk

diff --git a/package/cryptopp/0001-Fix-GCC-version-for-RDSEED-intrinsic.patch b/package/cryptopp/0001-Fix-GCC-version-for-RDSEED-intrinsic.patch
deleted file mode 100644 (file)
index e059601..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-From 31465400675c75d8ea0556d708a7efbf915bc366 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Sat, 10 Mar 2018 12:14:23 +0100
-Subject: [PATCH] Fix GCC version for RDSEED intrinsic
-
-rdseed is only available on gcc 4.8.x, not on gcc 4.7.x
-
-Fixes:
- - http://autobuild.buildroot.org/results/9ab386124e4a09b50598c6f95ad40b25a83d227e
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- rdrand.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/rdrand.cpp b/rdrand.cpp
-index 900fcd96..64b12208 100644
---- a/rdrand.cpp
-+++ b/rdrand.cpp
-@@ -74,7 +74,7 @@
- #  else\r
- #    define GCC_RDRAND_ASM_AVAILABLE 1\r
- #  endif\r
--#  if defined(__RDSEED__) && (CRYPTOPP_GCC_VERSION >= 40700) && !defined(__OPTIMIZE__)\r
-+#  if defined(__RDSEED__) && (CRYPTOPP_GCC_VERSION >= 40800) && !defined(__OPTIMIZE__)\r
- #    define ALL_RDSEED_INTRIN_AVAILABLE 1\r
- #  else\r
- #    define GCC_RDSEED_ASM_AVAILABLE 1\r
-@@ -291,7 +291,7 @@ inline void RDSEED32(void* output)
-         : "=a" (*reinterpret_cast<word32*>(output))\r
-         : : "cc"\r
-     );\r
--#elif defined(GCC_RDSEED_ASM_AVAILABLE) && (CRYPTOPP_GCC_VERSION >= 40700)\r
-+#elif defined(GCC_RDSEED_ASM_AVAILABLE) && (CRYPTOPP_GCC_VERSION >= 40800)\r
-     __asm__ __volatile__\r
-     (\r
-         INTEL_NOPREFIX\r
-@@ -333,7 +333,7 @@ inline void RDSEED64(void* output)
-         : "=a" (*reinterpret_cast<word64*>(output))\r
-         : : "cc"\r
-     );\r
--#elif defined(GCC_RDSEED_ASM_AVAILABLE) && (CRYPTOPP_GCC_VERSION >= 40700)\r
-+#elif defined(GCC_RDSEED_ASM_AVAILABLE) && (CRYPTOPP_GCC_VERSION >= 40800)\r
-     __asm__ __volatile__\r
-     (\r
-         INTEL_NOPREFIX\r
--- 
-2.11.0
-
index d124e11a815b7de2040d94bfb6bf852230c06618..389f05f654e6dfe2f00366d5f49a2850225d2c9e 100644 (file)
@@ -1,5 +1,5 @@
-# Hash from: https://www.cryptopp.com/release610.html:
-sha256  21289d2511101a9350c87c8eb1f4982d4a266e8037b19dab79a32cc13ea108c7  cryptopp610.zip
+# Hash from: https://www.cryptopp.com/release700.html:
+sha256  a4bc939910edd3d29fb819a6fc0dfdc293f686fa62326f61c56d72d0a366ceb0  cryptopp700.zip
 
 # Hash for license file:
 sha256  fe5f5f187e6e38ac2f833956fc5c4cab2df08797cff07f540e4ee74f12f7ee5b  License.txt
index b4997aba9da9abe73191d08bf242c431f5c4a2eb..08b18f2fbcda9185de87158832d6ff1eb5dac41a 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CRYPTOPP_VERSION = 6.1.0
+CRYPTOPP_VERSION = 7.0.0
 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip
 CRYPTOPP_SITE = http://cryptopp.com/
 CRYPTOPP_LICENSE = BSL-1.0