comparison sysoptions.h @ 756:bf9dc2d9c2b1 ecc

more bits on ecc branch
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Mar 2013 00:38:03 +0800
parents b07eb3dc23ec
children 76fba0856749
comparison
equal deleted inserted replaced
755:b07eb3dc23ec 756:bf9dc2d9c2b1
91 91
92 #if defined(DROPBEAR_ECDH) || defined (DROPBEAR_ECDSA) 92 #if defined(DROPBEAR_ECDH) || defined (DROPBEAR_ECDSA)
93 #define DROPBEAR_ECC 93 #define DROPBEAR_ECC
94 #endif 94 #endif
95 95
96
97 #ifdef DROPBEAR_ECC
98 #define DROPBEAR_ECC_256
99 #define DROPBEAR_ECC_384
100 #define DROPBEAR_ECC_521
101 #endif
102
96 // roughly 2x 521 bits 103 // roughly 2x 521 bits
97 #define MAX_ECC_SIZE 140 104 #define MAX_ECC_SIZE 140
98 105
99 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't 106 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't
100 explicitly specified for all protocols (just 107 explicitly specified for all protocols (just