backports: reduce mbedtls bignum stack usage
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 10:18:06 +0000 (12:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 13:29:52 +0000 (15:29 +0200)
commitb63923298a77174183a7abc9390bae5500703c05
tree7a3e22bdc4bf1250d3638fe0e5676debcd91b8b6
parent43158d9e744e8012e28fecdb4d317d391a1db8ff
backports: reduce mbedtls bignum stack usage

mbedtls_mpi_exp_mod() uses almost 4k of memory, which
really shouldn't be on the stack in the kernel.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/compat/verification/bignum.c