~ubuntu-branches/ubuntu/precise/dropbear/precise

« back to all changes in this revision

Viewing changes to libtommath/bn_mp_exptmod.c

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2007-03-02 20:48:18 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070302204818-ozmbou2sbyj7dus5
Tags: 0.49-1
* new upstream release, fixes
  * CVE-2007-1099: dropbear dbclient insufficient warning on hostkey
    mismatch (closes: #412899).
  * dbclient uses static "Password:" prompt instead of using the server's
    prompt (closes: #394996).
* debian/control: Suggests: openssh-client, not ssh (closes: #405686);
  Standards-Version: 3.7.2.2.
* debian/README.Debian: ssh -> openssh-server, openssh-client; remove
  'Replacing OpenSSH "sshd" with Dropbear' part, this is simply done by not
  installing the openssh-server package.
* debian/README.runit: runsvstat -> sv status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * The library is free for all purposes without any express
13
13
 * guarantee it works.
14
14
 *
15
 
 * Tom St Denis, tomstdenis@iahu.ca, http://math.libtomcrypt.org
 
15
 * Tom St Denis, tomstdenis@gmail.com, http://math.libtomcrypt.com
16
16
 */
17
17
 
18
18
 
66
66
  }
67
67
 
68
68
/* modified diminished radix reduction */
69
 
#if defined(BN_MP_REDUCE_IS_2K_L_C) && defined(BN_MP_REDUCE_2K_L_C)
 
69
#if defined(BN_MP_REDUCE_IS_2K_L_C) && defined(BN_MP_REDUCE_2K_L_C) && defined(BN_S_MP_EXPTMOD_C)
70
70
  if (mp_reduce_is_2k_l(P) == MP_YES) {
71
71
     return s_mp_exptmod(G, X, P, Y, 1);
72
72
  }
106
106
}
107
107
 
108
108
#endif
 
109
 
 
110
/* $Source: /cvs/libtom/libtommath/bn_mp_exptmod.c,v $ */
 
111
/* $Revision: 1.4 $ */
 
112
/* $Date: 2006/03/31 14:18:44 $ */