~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to libtommath/bn_mp_reduce_2k_setup.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 */
17
17
 
18
18
/* determines the setup value */
19
 
int 
20
 
mp_reduce_2k_setup(mp_int *a, mp_digit *d)
 
19
int mp_reduce_2k_setup(mp_int *a, mp_digit *d)
21
20
{
22
21
   int res, p;
23
22
   mp_int tmp;