Mercurial > dropbear
comparison algo.h @ 194:e972be139cb5
Switching to libtomcrypt 1.02
(still has problems)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 09 May 2005 09:32:33 +0000 |
parents | 0969767bca0d |
children | 43bbe17d6ba0 |
comparison
equal
deleted
inserted
replaced
193:ca6a7c7a925c | 194:e972be139cb5 |
---|---|
49 | 49 |
50 extern const struct dropbear_cipher dropbear_nocipher; | 50 extern const struct dropbear_cipher dropbear_nocipher; |
51 extern const struct dropbear_hash dropbear_nohash; | 51 extern const struct dropbear_hash dropbear_nohash; |
52 | 52 |
53 struct dropbear_cipher { | 53 struct dropbear_cipher { |
54 const struct _cipher_descriptor *cipherdesc; | 54 const struct ltc_cipher_descriptor *cipherdesc; |
55 unsigned long keysize; | 55 unsigned long keysize; |
56 unsigned char blocksize; | 56 unsigned char blocksize; |
57 }; | 57 }; |
58 | 58 |
59 struct dropbear_hash { | 59 struct dropbear_hash { |
60 const struct _hash_descriptor *hashdesc; | 60 const struct ltc_hash_descriptor *hashdesc; |
61 unsigned long keysize; | 61 unsigned long keysize; |
62 unsigned char hashsize; | 62 unsigned char hashsize; |
63 }; | 63 }; |
64 | 64 |
65 void crypto_init(); | 65 void crypto_init(); |