tomcrypt/mycrypt_misc.h

18 lines
554 B
C
Raw Normal View History

2003-03-02 19:59:24 -05:00
/* ---- BASE64 Routines ---- */
#ifdef BASE64
2004-06-19 22:41:49 -04:00
int base64_encode(const unsigned char *in, unsigned long len,
2003-03-02 19:59:24 -05:00
unsigned char *out, unsigned long *outlen);
2004-06-19 22:41:49 -04:00
int base64_decode(const unsigned char *in, unsigned long len,
2003-03-02 19:59:24 -05:00
unsigned char *out, unsigned long *outlen);
#endif
/* ---- MEM routines ---- */
2004-06-19 22:41:49 -04:00
void zeromem(void *dst, size_t len);
void burn_stack(unsigned long len);
2003-03-02 19:59:24 -05:00
2004-06-19 22:41:49 -04:00
const char *error_to_string(int err);
int mpi_to_ltc_error(int err);
2003-03-02 19:59:24 -05:00
2004-06-19 22:41:49 -04:00
extern const char *crypt_build_settings;