mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
cleanup
This commit is contained in:
parent
b7f504b8a4
commit
199b3345a0
1 changed files with 0 additions and 20 deletions
|
@ -16,30 +16,10 @@
|
||||||
namespace ZeroTier {
|
namespace ZeroTier {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
// ecc.h from easy-ecc
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#define secp128r1 16
|
|
||||||
#define secp192r1 24
|
|
||||||
#define secp256r1 32
|
|
||||||
#define secp384r1 48
|
#define secp384r1 48
|
||||||
|
|
||||||
//#ifndef ECC_CURVE
|
|
||||||
// #define ECC_CURVE secp256r1
|
|
||||||
//#endif
|
|
||||||
#define ECC_CURVE secp384r1
|
#define ECC_CURVE secp384r1
|
||||||
|
|
||||||
//#if (ECC_CURVE != secp128r1 && ECC_CURVE != secp192r1 && ECC_CURVE != secp256r1 && ECC_CURVE != secp384r1)
|
|
||||||
// #error "Must define ECC_CURVE to one of the available curves"
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#define ECC_BYTES ECC_CURVE
|
#define ECC_BYTES ECC_CURVE
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
// ecc.c from easy-ecc
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#define NUM_ECC_DIGITS (ECC_BYTES/8)
|
#define NUM_ECC_DIGITS (ECC_BYTES/8)
|
||||||
#define MAX_TRIES 1024
|
#define MAX_TRIES 1024
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue