Differences From Artifact [6c59ff9a90]:
- File libtommath/bn_mp_mod_2d.c — part of check-in [c7a3a1452b] at 2016-03-11 17:13:38 on branch gahr-ticket-e6f27aa56f — [e6f27aa56f] Initial import of libtommath-1.0 This commit brings in libtommath-1.0, as of tag v1.0 of the upstream repository at https://github.com/libtom/libtommath. Only the top-level directory has been imported: the demo, etc, logs, mtest, pics, pre_gen, and tombc directories have been removed from our repo. The stubs tables have been regenerated to accomodate for the new function: mp_expt_d_ex(mp_int *a, mp_digit b, mp_int *c, int fast); See https://github.com/libtom/libtommath/commit/e9b1837 for details. Only the unix build system has been modified for now. Windows and Mac OSX will come later. (user: gahr size: 1418) [more...]
To Artifact [e07779d25b]:
- File libtommath/bn_mp_mod_2d.c — part of check-in [27923399a3] at 2017-08-29 20:25:53 on branch libtommath-1.0.1 — libtommath 1.0.1 rc2, for test purposes only (user: jan.nijtmans size: 1536) [more...]
| ︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 | - - - + + + |
c->dp[b / DIGIT_BIT] &=
(mp_digit) ((((mp_digit) 1) << (((mp_digit) b) % DIGIT_BIT)) - ((mp_digit) 1));
mp_clamp (c);
return MP_OKAY;
}
#endif
|