libtommath: Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer
commitb709d39aa5989305f448f72ed25dc1fbce9a365a
authorMoritz Lenz <moritz@faui2k3.org>
Mon, 7 Oct 2013 22:35:26 +0000 (7 17:35 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Oct 2013 21:17:14 +0000 (8 16:17 -0500)
treee98cc62436d576db0aa6b6319b4c389d823de870
parent7fe018e418f1e740303e10cc14689be928aff70d
libtommath: Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer

it used to return b, now it return 0.

From https://github.com/libtom/libtommath

Change-Id: I99f5d42c09a6fbddfb32b7dd0ed10ef04f1c08a5
lib/hcrypto/libtommath/bn_mp_mod.c