comparison sysoptions.h @ 850:7507b174bba0 ecc

- Make curve25519 work after fixing a typo, interoperates with OpenSSH - comment on ecc binary size effects
author Matt Johnston <matt@ucc.asn.au>
date Sat, 09 Nov 2013 00:02:26 +0800
parents f4bb964c8678
children 04ede40a529a
comparison
equal deleted inserted replaced
849:754d7bee1068 850:7507b174bba0
102 102
103 #ifdef DROPBEAR_ECC 103 #ifdef DROPBEAR_ECC
104 #define DROPBEAR_LTC_PRNG 104 #define DROPBEAR_LTC_PRNG
105 #endif 105 #endif
106 106
107 /* RSA can be vulnerable to timing attacks which use the time required for
108 * signing to guess the private key. Blinding avoids this attack, though makes
109 * signing operations slightly slower. */
110 #define RSA_BLINDING
111
107 /* hashes which will be linked and registered */ 112 /* hashes which will be linked and registered */
108 #if defined(DROPBEAR_SHA2_256_HMAC) || defined(DROPBEAR_ECC_256) 113 #if defined(DROPBEAR_SHA2_256_HMAC) || defined(DROPBEAR_ECC_256) || defined(DROPBEAR_CURVE25519)
109 #define DROPBEAR_SHA256 114 #define DROPBEAR_SHA256
110 #endif 115 #endif
111 #if defined(DROPBEAR_ECC_384) 116 #if defined(DROPBEAR_ECC_384)
112 #define DROPBEAR_SHA384 117 #define DROPBEAR_SHA384
113 #endif 118 #endif