[PATCH] libtommath: condition fast_s_mp_mul_digs() on LTM_FAST
Sat Mar 16 03:02:49 PDT 2013
On Tue, Mar 12, 2013 at 11:18:49AM -0400, Solomon Peachy wrote:
> This function uses ~1.7kB of stack, and since there's a slower alternative,
> wrap it with LTM_FAST.
> diff --git a/src/tls/libtommath.c b/src/tls/libtommath.c
> +#define BN_FAST_S_MP_MUL_DIGS_C
> +#ifdef FAST_S_MP_MUL_DIGS_C
> static int fast_s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs);
Though, I added "BN_" here to make this build with LTM_FAST.
Jouni Malinen PGP id EFC895FA
More information about the Hostap