comparison algo.h @ 766:d1575fdc29a6 ecc

start on ecdsa keys
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Apr 2013 00:36:04 +0800
parents ac2158e3e403
children 70625eed40c9
comparison
equal deleted inserted replaced
765:5503e05ab3a4 766:d1575fdc29a6
91 91
92 // both 92 // both
93 const struct ltc_hash_descriptor *hashdesc; 93 const struct ltc_hash_descriptor *hashdesc;
94 }; 94 };
95 95
96 void crypto_init();
97 int have_algo(char* algo, size_t algolen, algo_type algos[]); 96 int have_algo(char* algo, size_t algolen, algo_type algos[]);
98 void buf_put_algolist(buffer * buf, algo_type localalgos[]); 97 void buf_put_algolist(buffer * buf, algo_type localalgos[]);
99 98
100 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], 99 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[],
101 int *goodguess); 100 int *goodguess);
118 DROPBEAR_COMP_NONE, 117 DROPBEAR_COMP_NONE,
119 DROPBEAR_COMP_ZLIB, 118 DROPBEAR_COMP_ZLIB,
120 DROPBEAR_COMP_ZLIB_DELAY, 119 DROPBEAR_COMP_ZLIB_DELAY,
121 }; 120 };
122 121
123 extern int dropbear_ltc_prng;
124
125 #endif /* _ALGO_H_ */ 122 #endif /* _ALGO_H_ */