comparison ecdsa.h @ 1295:750ec4ec4cbe

Convert #ifdef to #if, other build changes
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 May 2016 15:33:40 +0200
parents deed0571cacc
children 06d52bcb8094
comparison
equal deleted inserted replaced
1294:56aba7dedbea 1295:750ec4ec4cbe
3 3
4 #include "includes.h" 4 #include "includes.h"
5 #include "buffer.h" 5 #include "buffer.h"
6 #include "signkey.h" 6 #include "signkey.h"
7 7
8 #ifdef DROPBEAR_ECDSA 8 #if DROPBEAR_ECDSA
9 9
10 /* Prefer the larger size - it's fast anyway */ 10 /* Prefer the larger size - it's fast anyway */
11 #if defined(DROPBEAR_ECC_521) 11 #if DROPBEAR_ECC_521
12 #define ECDSA_DEFAULT_SIZE 521 12 #define ECDSA_DEFAULT_SIZE 521
13 #elif defined(DROPBEAR_ECC_384) 13 #elif DROPBEAR_ECC_384
14 #define ECDSA_DEFAULT_SIZE 384 14 #define ECDSA_DEFAULT_SIZE 384
15 #elif defined(DROPBEAR_ECC_256) 15 #elif DROPBEAR_ECC_256
16 #define ECDSA_DEFAULT_SIZE 256 16 #define ECDSA_DEFAULT_SIZE 256
17 #else 17 #else
18 #define ECDSA_DEFAULT_SIZE 0 18 #define ECDSA_DEFAULT_SIZE 0
19 #endif 19 #endif
20 20