mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-13 15:56:55 +00:00
- drop patches (applied upstream): * 010-backport-change-address-logging.patch * 020-backport-ed25519-support.patch * 021-backport-chacha20-poly1305-support.patch - backport patches: * 010-backport-disable-toom-and-karatsuba.patch: reduce dropbear binary size (about ~8Kb). - refresh patches. - don't bother anymore with following config options because they are disabled in upstream too: * DROPBEAR_3DES * DROPBEAR_ENABLE_CBC_MODE * DROPBEAR_SHA1_96_HMAC - explicitly disable DO_MOTD as it was before commit a1099ed: upstream has (accidentally) switched it to 0 in release 2019.77, but reverted back in release 2020.79. Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
18 lines
475 B
Diff
18 lines
475 B
Diff
From: Matt Johnston <matt@ucc.asn.au>
|
|
Date: Thu, 18 Jun 2020 19:12:07 +0800
|
|
Subject: Disable toom and karatsuba for new libtommath
|
|
|
|
--- a/libtommath/tommath_class.h
|
|
+++ b/libtommath/tommath_class.h
|
|
@@ -1312,6 +1312,10 @@
|
|
#undef BN_MP_KARATSUBA_SQR_C
|
|
#undef BN_MP_TOOM_MUL_C
|
|
#undef BN_MP_TOOM_SQR_C
|
|
+#undef BN_S_MP_KARATSUBA_MUL_C
|
|
+#undef BN_S_MP_KARATSUBA_SQR_C
|
|
+#undef BN_S_MP_TOOM_MUL_C
|
|
+#undef BN_S_MP_TOOM_SQR_C
|
|
|
|
#include "dbmalloc.h"
|
|
#define MP_MALLOC m_malloc
|