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

« back to all changes in this revision

Viewing changes to libtomcrypt/mycrypt_misc.h

  • 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:
1
 
/* ---- BASE64 Routines ---- */
2
 
#ifdef BASE64
3
 
 int base64_encode(const unsigned char *in,  unsigned long len, 
4
 
                               unsigned char *out, unsigned long *outlen);
5
 
 
6
 
 int base64_decode(const unsigned char *in,  unsigned long len, 
7
 
                               unsigned char *out, unsigned long *outlen);
8
 
#endif
9
 
 
10
 
/* ---- MEM routines ---- */
11
 
 void zeromem(void *dst, size_t len);
12
 
 void burn_stack(unsigned long len);
13
 
 
14
 
 const char *error_to_string(int err);
15
 
 int mpi_to_ltc_error(int err);
16
 
 
17
 
#if 0
18
 
/* Takes up space we don\'t need for Dropbear */
19
 
extern const char *crypt_build_settings;
20
 
#endif