comparison 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
comparison
equal deleted inserted replaced
909:e4b75744acab 910:89555751c489
1 #ifndef _CRYPTO_DESC_H
2 #define _CRYPTO_DESC_H
3
4 #include "includes.h"
5
6 void crypto_init();
7
8 extern int dropbear_ltc_prng;
9
10 #ifdef DROPBEAR_AES_ASM
11 extern const struct ltc_cipher_descriptor aes_asm_desc;
12 #define DROPBEAR_AES_DESC (aes_asm_desc)
13 #else
14 #define DROPBEAR_AES_DESC (aes_desc)
15 #endif
16
17 #ifdef DROPBEAR_SHA1_ASM
18 extern const struct ltc_hash_descriptor sha1_asm_desc;
19 #define DROPBEAR_SHA1_DESC (sha1_asm_desc)
20 #else
21 #define DROPBEAR_SHA1_DESC (sha1_desc)
22 #endif
23
24
25
26
27 #endif /* _CRYPTO_DESC_H */
28