comparison sysoptions.h @ 762:a78a38e402d1 ecc

- Fix various hardcoded uses of SHA1 - rename curves to nistp256 etc - fix svr-auth.c TRACE problem
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Apr 2013 00:10:57 +0800
parents ac2158e3e403
children d1575fdc29a6
comparison
equal deleted inserted replaced
761:ac2158e3e403 762:a78a38e402d1
72 72
73 #define SHA1_HASH_SIZE 20 73 #define SHA1_HASH_SIZE 20
74 #define MD5_HASH_SIZE 16 74 #define MD5_HASH_SIZE 16
75 75
76 #define MAX_KEY_LEN 32 /* 256 bits for aes256 etc */ 76 #define MAX_KEY_LEN 32 /* 256 bits for aes256 etc */
77 #define MAX_IV_LEN 20 /* must be same as max blocksize, 77 #define MAX_IV_LEN 20 /* must be same as max blocksize, */
78 and >= SHA1_HASH_SIZE */
79 78
80 #if defined(DROPBEAR_SHA2_512_HMAC) 79 #if defined(DROPBEAR_SHA2_512_HMAC)
81 #define MAX_MAC_LEN 64 80 #define MAX_MAC_LEN 64
82 #elif defined(DROPBEAR_SHA2_256_HMAC) 81 #elif defined(DROPBEAR_SHA2_256_HMAC)
83 #define MAX_MAC_LEN 32 82 #define MAX_MAC_LEN 32