mbedtls: enable NIST curves optimisation.
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Wed, 12 Oct 2016 10:42:15 +0000 (11:42 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 13 Oct 2016 18:25:42 +0000 (20:25 +0200)
commitc5e48abcc6c09d5f2d55c63985a769c74d245a08
treec6443685f3cbb2976accc4ea17fff57b1dbe484e
parentf14b3705deca7f9f2ed1e3f7dbb5d5d7ff0ba9d1
mbedtls: enable NIST curves optimisation.

luci using ustream-mbedtls is extremely slow vs ustream-polarssl.
polarssl alias mbedtls v1 is configured to use NIST prime speed
optimisation, so no longer disable the default optimisation for
mbedtls v2.

Compile & run tested: Archer C7v2

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
[Jo-Philipp Wich: refresh patch to use common format]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/libs/mbedtls/patches/200-config.patch