comparison options.h @ 679:03073a27abb3 sha2

- Add hmac-sha2-256 and hmac-sha2-512. Needs debugging, seems to be getting keyed incorrectly
author Matt Johnston <matt@ucc.asn.au>
date Thu, 10 May 2012 08:38:37 +0800
parents 55b84e59aaad
children bd4b5d7886e5
comparison
equal deleted inserted replaced
678:6e0899b56ac4 679:03073a27abb3
110 * If you disable MD5, Dropbear will fall back to SHA1 fingerprints, 110 * If you disable MD5, Dropbear will fall back to SHA1 fingerprints,
111 * which are not the standard form. */ 111 * which are not the standard form. */
112 112
113 #define DROPBEAR_SHA1_HMAC 113 #define DROPBEAR_SHA1_HMAC
114 #define DROPBEAR_SHA1_96_HMAC 114 #define DROPBEAR_SHA1_96_HMAC
115 #define DROPBEAR_SHA2_256_HMAC
116 #define DROPBEAR_SHA2_512_HMAC
115 #define DROPBEAR_MD5_HMAC 117 #define DROPBEAR_MD5_HMAC
116 118
117 /* Hostkey/public key algorithms - at least one required, these are used 119 /* Hostkey/public key algorithms - at least one required, these are used
118 * for hostkey as well as for verifying signatures with pubkey auth. 120 * for hostkey as well as for verifying signatures with pubkey auth.
119 * Removing either of these won't save very much space. 121 * Removing either of these won't save very much space.