From e26389f26ff5f7ca4716135dcd602f91d5e14e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 29 Apr 2014 15:32:53 +0200 Subject: [PATCH] Document that Curve25519 can't be the only curve --- include/polarssl/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/polarssl/config.h b/include/polarssl/config.h index b33282235..e2b19d2f4 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -2136,6 +2136,7 @@ #error "POLARSSL_ECDSA_DETERMINISTIC defined, but not all prerequisites" #endif +/* For now, M255 (aka Curve25519) can't be the only curve. */ #if defined(POLARSSL_ECP_C) && ( !defined(POLARSSL_BIGNUM_C) || ( \ !defined(POLARSSL_ECP_DP_SECP192R1_ENABLED) && \ !defined(POLARSSL_ECP_DP_SECP224R1_ENABLED) && \ @@ -2145,7 +2146,6 @@ !defined(POLARSSL_ECP_DP_BP256R1_ENABLED) && \ !defined(POLARSSL_ECP_DP_BP384R1_ENABLED) && \ !defined(POLARSSL_ECP_DP_BP512R1_ENABLED) && \ - !defined(POLARSSL_ECP_DP_M255_ENABLED) && \ !defined(POLARSSL_ECP_DP_SECP192K1_ENABLED) && \ !defined(POLARSSL_ECP_DP_SECP224K1_ENABLED) && \ !defined(POLARSSL_ECP_DP_SECP256K1_ENABLED) ) )