comparison common-algo.c @ 410:b895f91c2ee6

merge of 'b1dd3b94e60a07a176dba2b035ac79968595990a' and 'bcb33fce2fad01a7626598209d43af3571bd86f0'
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Feb 2007 10:32:59 +0000
parents 0e69e948caba
children d58c478bd399
comparison
equal deleted inserted replaced
399:a707e6148060 410:b895f91c2ee6
29 /* This file (algo.c) organises the ciphers which can be used, and is used to 29 /* This file (algo.c) organises the ciphers which can be used, and is used to
30 * decide which ciphers/hashes/compression/signing to use during key exchange*/ 30 * decide which ciphers/hashes/compression/signing to use during key exchange*/
31 31
32 /* Mappings for ciphers, parameters are 32 /* Mappings for ciphers, parameters are
33 {&cipher_desc, keysize, blocksize} */ 33 {&cipher_desc, keysize, blocksize} */
34 /* NOTE: if keysize > 2*SHA1_HASH_SIZE, code such as hashkeys()
35 needs revisiting */
34 36
35 #ifdef DROPBEAR_AES256_CBC 37 #ifdef DROPBEAR_AES256_CBC
36 static const struct dropbear_cipher dropbear_aes256 = 38 static const struct dropbear_cipher dropbear_aes256 =
37 {&aes_desc, 32, 16}; 39 {&aes_desc, 32, 16};
38 #endif 40 #endif