summaryrefslogtreecommitdiff
path: root/package/network/services/dropbear
diff options
context:
space:
mode:
authorJoseph C. Sible <josephcsible@users.noreply.github.com>2017-02-02 01:51:51 -0500
committerStijn Tintel <stijn@linux-ipv6.be>2017-02-17 12:31:39 +0100
commitf5274363644852f7064adb7e654e3f41c640b106 (patch)
tree76bffd43a51220ae6ef8d00503ee06b6f23fb9e8 /package/network/services/dropbear
parentf88bd7cd0f7c03d959330443be5adabf70351a27 (diff)
downloadmtk-20170518-f5274363644852f7064adb7e654e3f41c640b106.zip
mtk-20170518-f5274363644852f7064adb7e654e3f41c640b106.tar.gz
mtk-20170518-f5274363644852f7064adb7e654e3f41c640b106.tar.bz2
dropbear: enable SHA256 HMACs
The only HMACs currently available use MD5 and SHA1, both of which have known weaknesses. We already compile in the SHA256 code since we use Curve25519 by default, so there's no significant size penalty to enabling this. Signed-off-by: Joseph C. Sible <josephcsible@users.noreply.github.com> (cherry picked from commit 0bf85ef04806e0fd5a6f78ac9f6a32aabb1e7fdc)
Diffstat (limited to 'package/network/services/dropbear')
-rw-r--r--package/network/services/dropbear/patches/120-openwrt_options.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/network/services/dropbear/patches/120-openwrt_options.patch b/package/network/services/dropbear/patches/120-openwrt_options.patch
index f16aaf0..b49a95c 100644
--- a/package/network/services/dropbear/patches/120-openwrt_options.patch
+++ b/package/network/services/dropbear/patches/120-openwrt_options.patch
@@ -44,10 +44,9 @@
* which are not the standard form. */
#define DROPBEAR_SHA1_HMAC
-#define DROPBEAR_SHA1_96_HMAC
--#define DROPBEAR_SHA2_256_HMAC
--#define DROPBEAR_SHA2_512_HMAC
+/*#define DROPBEAR_SHA1_96_HMAC*/
-+/*#define DROPBEAR_SHA2_256_HMAC*/
+ #define DROPBEAR_SHA2_256_HMAC
+-#define DROPBEAR_SHA2_512_HMAC
+/*#define DROPBEAR_SHA2_512_HMAC*/
#define DROPBEAR_MD5_HMAC