dropbear: bump to 2020.79
[openwrt/staging/chunkeey.git] / package / network / services / dropbear / patches / 010-backport-disable-toom-and-karatsuba.patch
1 From: Matt Johnston <matt@ucc.asn.au>
2 Date: Thu, 18 Jun 2020 19:12:07 +0800
3 Subject: Disable toom and karatsuba for new libtommath
4
5 --- a/libtommath/tommath_class.h
6 +++ b/libtommath/tommath_class.h
7 @@ -1312,6 +1312,10 @@
8 #undef BN_MP_KARATSUBA_SQR_C
9 #undef BN_MP_TOOM_MUL_C
10 #undef BN_MP_TOOM_SQR_C
11 +#undef BN_S_MP_KARATSUBA_MUL_C
12 +#undef BN_S_MP_KARATSUBA_SQR_C
13 +#undef BN_S_MP_TOOM_MUL_C
14 +#undef BN_S_MP_TOOM_SQR_C
15
16 #include "dbmalloc.h"
17 #define MP_MALLOC m_malloc