diff mycrypt_misc.h @ 0:d7da3b1e1540 libtomcrypt

put back the 0.95 makefile which was inadvertently merged over
author Matt Johnston <matt@ucc.asn.au>
date Mon, 31 May 2004 18:21:40 +0000
parents
children 09ab3354aa21
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mycrypt_misc.h	Mon May 31 18:21:40 2004 +0000
@@ -0,0 +1,20 @@
+/* ---- 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