diff crypto_desc.h @ 910:89555751c489 asm

merge up to 2013.63, improve ASM makefile rules a bit
author Matt Johnston <matt@ucc.asn.au>
date Thu, 27 Feb 2014 21:35:58 +0800
parents c19acba28590
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto_desc.h	Thu Feb 27 21:35:58 2014 +0800
@@ -0,0 +1,28 @@
+#ifndef _CRYPTO_DESC_H
+#define _CRYPTO_DESC_H
+
+#include "includes.h"
+
+void crypto_init();
+
+extern int dropbear_ltc_prng;
+
+#ifdef DROPBEAR_AES_ASM
+extern const struct ltc_cipher_descriptor aes_asm_desc;
+#define DROPBEAR_AES_DESC (aes_asm_desc)
+#else
+#define DROPBEAR_AES_DESC (aes_desc)
+#endif
+
+#ifdef DROPBEAR_SHA1_ASM
+extern const struct ltc_hash_descriptor sha1_asm_desc;
+#define DROPBEAR_SHA1_DESC (sha1_asm_desc)
+#else
+#define DROPBEAR_SHA1_DESC (sha1_desc)
+#endif
+
+
+
+
+#endif /* _CRYPTO_DESC_H */
+