diff common-algo.c @ 409:0e69e948caba

Add comments about requiring keysize <= 2*SHA1_HASH_SIZE
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Feb 2007 10:31:48 +0000
parents 89ace56293f6
children d58c478bd399
line wrap: on
line diff
--- a/common-algo.c	Sat Feb 03 13:57:35 2007 +0000
+++ b/common-algo.c	Sun Feb 04 10:31:48 2007 +0000
@@ -31,6 +31,8 @@
 
 /* Mappings for ciphers, parameters are
    {&cipher_desc, keysize, blocksize} */
+/* NOTE: if keysize > 2*SHA1_HASH_SIZE, code such as hashkeys()
+   needs revisiting */
 
 #ifdef DROPBEAR_AES256_CBC
 static const struct dropbear_cipher dropbear_aes256 =