Mercurial > dropbear
comparison ecdsa.h @ 852:7540c0822374 ecc
Various cleanups and fixes for warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 12 Nov 2013 23:02:32 +0800 |
parents | b298bb438625 |
children | c19acba28590 |
comparison
equal
deleted
inserted
replaced
851:c1c1b43f78c2 | 852:7540c0822374 |
---|---|
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 /* Prefer the larger size - it's fast anyway */ | |
10 #if defined(DROPBEAR_ECC_521) | 11 #if defined(DROPBEAR_ECC_521) |
11 #define ECDSA_DEFAULT_SIZE 521 | 12 #define ECDSA_DEFAULT_SIZE 521 |
12 #elif defined(DROPBEAR_ECC_384) | 13 #elif defined(DROPBEAR_ECC_384) |
13 #define ECDSA_DEFAULT_SIZE 384 | 14 #define ECDSA_DEFAULT_SIZE 384 |
14 #elif defined(DROPBEAR_ECC_256) | 15 #elif defined(DROPBEAR_ECC_256) |