[Cryptech-Commits] [user/shatov/ecdh_fpga_model] branch master updated: Don't override the curve if already selected.

git at cryptech.is git at cryptech.is
Sun Apr 1 20:49:57 UTC 2018


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch master
in repository user/shatov/ecdh_fpga_model.

The following commit(s) were added to refs/heads/master by this push:
     new 1936e7a  Don't override the curve if already selected.
1936e7a is described below

commit 1936e7a1d15e0f689d351d66216f97d215ccf424
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Sun Apr 1 23:49:30 2018 +0300

    Don't override the curve if already selected.
---
 ecdh_fpga_model.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
 
 
 //------------------------------------------------------------------------------

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list