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

« back to all changes in this revision

Viewing changes to libtomcrypt/src/hashes/tiger.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:
6
6
 * The library is free for all purposes without any express
7
7
 * guarantee it works.
8
8
 *
9
 
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.org
 
9
 * Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
10
10
 */
11
11
 
12
12
#include "tomcrypt.h"
32
32
    &tiger_init,
33
33
    &tiger_process,
34
34
    &tiger_done,
35
 
    &tiger_test
 
35
    &tiger_test,
 
36
    NULL
36
37
};
37
38
 
38
39
#define t1 (table)
774
775
      tiger_init(&md);
775
776
      tiger_process(&md, (unsigned char *)tests[i].msg, (unsigned long)strlen(tests[i].msg));
776
777
      tiger_done(&md, tmp);
777
 
      if (memcmp(tmp, tests[i].hash, 24) != 0) {
 
778
      if (XMEMCMP(tmp, tests[i].hash, 24) != 0) {
778
779
          return CRYPT_FAIL_TESTVECTOR;
779
780
      }
780
781
  }
809
810
 
810
811
 
811
812
/* $Source: /cvs/libtom/libtomcrypt/src/hashes/tiger.c,v $ */
812
 
/* $Revision: 1.5 $ */
813
 
/* $Date: 2005/05/23 02:42:07 $ */
 
813
/* $Revision: 1.8 $ */
 
814
/* $Date: 2006/11/01 09:28:17 $ */