comparison ecdsa.h @ 838:4365e12c68e6 ecc

A few small fixes for ECC compilation
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Oct 2013 22:46:12 +0800
parents 45f1bc96f357
children 774ad9b112ef
comparison
equal deleted inserted replaced
837:fdf51d3f26e1 838:4365e12c68e6
5 #include "buffer.h" 5 #include "buffer.h"
6 #include "signkey.h" 6 #include "signkey.h"
7 7
8 #ifdef DROPBEAR_ECDSA 8 #ifdef DROPBEAR_ECDSA
9 9
10 #ifdef DROPBEAR_ECC_256 10 #if defined(DROPBEAR_ECC_256)
11 #define ECDSA_DEFAULT_SIZE 256 11 #define ECDSA_DEFAULT_SIZE 256
12 #elif DROPBEAR_ECC_384 12 #elif defined(DROPBEAR_ECC_384)
13 #define ECDSA_DEFAULT_SIZE 384 13 #define ECDSA_DEFAULT_SIZE 384
14 #elif DROPBEAR_ECC_521 14 #elif defined(DROPBEAR_ECC_521)
15 #define ECDSA_DEFAULT_SIZE 521 15 #define ECDSA_DEFAULT_SIZE 521
16 #else 16 #else
17 #define ECDSA_DEFAULT_SIZE 0 17 #define ECDSA_DEFAULT_SIZE 0
18 #endif 18 #endif
19 19