From 39f72341e45cac6b8404d7f1b18f76599eca6194 Mon Sep 17 00:00:00 2001 From: Mouse Date: Mon, 4 Jul 2016 13:08:13 -0400 Subject: [PATCH] Make ECIES default compatible with BouncyCastle --- eccrypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eccrypto.h b/eccrypto.h index a3d15e95..41dcd94c 100644 --- a/eccrypto.h +++ b/eccrypto.h @@ -283,10 +283,10 @@ struct ECNR : public DL_SS, DL_Algorithm_ECNR, DL_SignatureMe }; //! Elliptic Curve Integrated Encryption Scheme, AKA ECIES -/*! Default to (NoCofactorMultiplication and DHAES_MODE = false) for compatibilty with SEC1 and Crypto++ 4.2. +/*! Choose NoCofactorMultiplication and DHAES_MODE = false for compatibilty with SEC1 and Crypto++ 4.2. The combination of (IncompatibleCofactorMultiplication and DHAES_MODE = true) is recommended for best efficiency and security. */ -template +template struct ECIES : public DL_ES< DL_Keys_EC,