mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
--HG-- branch : libtomcrypt extra : convert_revision : a8432150cae4fe7441284bef582b002687ede6e0
21 lines
651 B
C
21 lines
651 B
C
/* ---- 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
|