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

« back to all changes in this revision

Viewing changes to libtomcrypt/src/modes/cfb/cfb_setiv.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
#include "tomcrypt.h"
12
12
 
14
14
  @file cfb_setiv.c
15
15
  CFB implementation, set IV, Tom St Denis
16
16
*/  
17
 
#ifdef CFB
 
17
 
 
18
#ifdef LTC_CFB_MODE
18
19
 
19
20
/**
20
21
   Set an initial vector
40
41
      
41
42
   /* force next block */
42
43
   cfb->padlen = 0;
43
 
   cipher_descriptor[cfb->cipher].ecb_encrypt(IV, cfb->IV, &cfb->key);
44
 
 
45
 
   return CRYPT_OK;
 
44
   return cipher_descriptor[cfb->cipher].ecb_encrypt(IV, cfb->IV, &cfb->key);
46
45
}
47
46
 
48
47
#endif 
49
48
 
50
49
 
51
50
/* $Source: /cvs/libtom/libtomcrypt/src/modes/cfb/cfb_setiv.c,v $ */
52
 
/* $Revision: 1.3 $ */
53
 
/* $Date: 2005/05/05 14:35:59 $ */
 
51
/* $Revision: 1.6 $ */
 
52
/* $Date: 2006/06/29 01:51:34 $ */