summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-22 16:15:04 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-22 17:29:25 +0200
commit893a38ffe67459db005bd1c7f129c04508cd015d (patch)
tree43dd0080073ffec9cb66320e13cbbe9224a85b42 /crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h
parent619da468b62aed1c15fd81a4f630bcbb7c12dd7d (diff)
downloadkernel-crypto-893a38ffe67459db005bd1c7f129c04508cd015d.tar.gz
kernel-crypto-893a38ffe67459db005bd1c7f129c04508cd015d.tar.xz
kernel-crypto-893a38ffe67459db005bd1c7f129c04508cd015d.zip
Rename/delete files to fit into the kernel.
No files are modified in this commit - this is a "bridge" for allowing merges between standalone and integrated work.
Diffstat (limited to 'crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h')
-rw-r--r--crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h b/crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h
new file mode 100644
index 00000000000..f5384cacc51
--- /dev/null
+++ b/crypto/userspace/libtomcrypt/headers/tomcrypt_misc.h
@@ -0,0 +1,23 @@
+/* ---- LTC_BASE64 Routines ---- */
+#ifdef LTC_BASE64
+int base64_encode(const unsigned char *in, unsigned long len,
+ unsigned char *out, unsigned long *outlen);
+
+int base64_decode(const unsigned char *in, unsigned long len,
+ unsigned char *out, unsigned long *outlen);
+#endif
+
+/* ---- MEM routines ---- */
+void zeromem(void *dst, size_t len);
+void burn_stack(unsigned long len);
+
+const char *error_to_string(int err);
+
+extern const char *crypt_build_settings;
+
+/* ---- HMM ---- */
+int crypt_fsa(void *mp, ...);
+
+/* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_misc.h,v $ */
+/* $Revision: 1.5 $ */
+/* $Date: 2007/05/12 14:32:35 $ */