diff common-algo.c @ 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 0cfba3034be5
children ad1b24e39bf3
line wrap: on
line diff
--- a/common-algo.c	Mon May 09 09:31:49 2005 +0000
+++ b/common-algo.c	Mon May 09 09:32:33 2005 +0000
@@ -125,7 +125,7 @@
  * This should be run before using any of the ciphers/hashes */
 void crypto_init() {
 
-	const struct _cipher_descriptor *regciphers[] = {
+	const struct ltc_cipher_descriptor *regciphers[] = {
 #ifdef DROPBEAR_AES128_CBC
 		&aes_desc,
 #endif
@@ -141,7 +141,7 @@
 		NULL
 	};
 
-	const struct _hash_descriptor *reghashes[] = {
+	const struct ltc_hash_descriptor *reghashes[] = {
 		/* we need sha1 for hostkey stuff regardless */
 		&sha1_desc,
 #ifdef DROPBEAR_MD5_HMAC