Mercurial > dropbear
comparison common-algo.c @ 415:8b9aba1d5fa4 channel-fix
merge of '73fe066c5d9e2395354ba74756124d45c978a04d'
and 'f5014cc84558f1e8eba42dbecf9f72f94bfe6134'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 06 Feb 2007 16:00:18 +0000 |
parents | 0e69e948caba |
children | d58c478bd399 |
comparison
equal
deleted
inserted
replaced
414:c53a26c430e5 | 415:8b9aba1d5fa4 |
---|---|
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 |