diff options
author | Konstantin Demin <rockdrilla@gmail.com> | 2020-06-21 15:36:47 +0300 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-06-21 21:33:23 +0200 |
commit | 29e170dbaac0091d09ae52157cd2f1f26a9c8ca4 (patch) | |
tree | a9e048b0bb284763769bc589a53c5db319de6d74 /package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch | |
parent | 340de1d1545f6da3f21b06a23bb8288da6d992be (diff) | |
download | upstream-29e170dbaac0091d09ae52157cd2f1f26a9c8ca4.tar.gz upstream-29e170dbaac0091d09ae52157cd2f1f26a9c8ca4.tar.bz2 upstream-29e170dbaac0091d09ae52157cd2f1f26a9c8ca4.zip |
dropbear: bump to 2020.79
- 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>
Diffstat (limited to 'package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch')
-rw-r--r-- | package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch b/package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch new file mode 100644 index 0000000000..9af291eb01 --- /dev/null +++ b/package/network/services/dropbear/patches/010-backport-disable-toom-and-karatsuba.patch @@ -0,0 +1,17 @@ +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 |