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

« back to all changes in this revision

Viewing changes to libtomcrypt/src/headers/tomcrypt_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
extern const char *crypt_build_settings;
 
18
 
 
19
/* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_misc.h,v $ */
 
20
/* $Revision: 1.2 $ */
 
21
/* $Date: 2005/05/05 14:35:58 $ */