From 1936e7a1d15e0f689d351d66216f97d215ccf424 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Sun, 1 Apr 2018 23:49:30 +0300 Subject: Don't override the curve if already selected. --- ecdh_fpga_model.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ecdh_fpga_model.h') diff --git a/ecdh_fpga_model.h b/ecdh_fpga_model.h index 6b66c99..398d1d3 100644 --- a/ecdh_fpga_model.h +++ b/ecdh_fpga_model.h @@ -51,7 +51,9 @@ // USE_CURVE == 2 -> P-384 // //------------------------------------------------------------------------------ -#define USE_CURVE 2 +#ifndef USE_CURVE +#define USE_CURVE 1 +#endif //------------------------------------------------------------------------------ -- cgit v1.2.3