view mycrypt_misc.h @ 18:712dd6dfb0eb libtomcrypt

makefile
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Jun 2004 14:34:07 +0000
parents 09ab3354aa21
children 7ed585a2c53b
line wrap: on
line source

/* ---- BASE64 Routines ---- */
#ifdef BASE64
extern int base64_encode(const unsigned char *in,  unsigned long len, 
                               unsigned char *out, unsigned long *outlen);

extern int base64_decode(const unsigned char *in,  unsigned long len, 
                               unsigned char *out, unsigned long *outlen);
#endif

/* ---- MEM routines ---- */
extern void zeromem(void *dst, size_t len);
extern void burn_stack(unsigned long len);

extern const char *error_to_string(int err);
extern int mpi_to_ltc_error(int err);

#if 0
/* Takes up space we don\'t need for Dropbear */
extern const char *crypt_build_settings;
#endif