summaryrefslogtreecommitdiff
path: root/eccrypto.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-10-16 03:33:48 -0400
committerJeffrey Walton <noloader@gmail.com>2016-10-16 03:33:48 -0400
commit255d285ef267a1f035a9ff32e1590bd001307d57 (patch)
tree9b31b44d0514d894474655806e21388a6156b96f /eccrypto.h
parent2d42b71cb08d5990892d227ddf9e31438fd585c9 (diff)
downloadcryptopp-git-255d285ef267a1f035a9ff32e1590bd001307d57.tar.gz
Change curve25519 and curve448 to friendlier names
Diffstat (limited to 'eccrypto.h')
-rw-r--r--eccrypto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/eccrypto.h b/eccrypto.h
index b9178d2d..904a35cf 100644
--- a/eccrypto.h
+++ b/eccrypto.h
@@ -38,13 +38,13 @@ public:
typedef Point Element;
typedef IncompatibleCofactorMultiplication DefaultCofactorOption;
- DL_GroupParameters_EC() : m_compress(false), m_encodeAsOID(false) {}
+ DL_GroupParameters_EC() : m_compress(false), m_encodeAsOID(true) {}
DL_GroupParameters_EC(const OID &oid)
- : m_compress(false), m_encodeAsOID(false) {Initialize(oid);}
+ : m_compress(false), m_encodeAsOID(true) {Initialize(oid);}
DL_GroupParameters_EC(const EllipticCurve &ec, const Point &G, const Integer &n, const Integer &k = Integer::Zero())
- : m_compress(false), m_encodeAsOID(false) {Initialize(ec, G, n, k);}
+ : m_compress(false), m_encodeAsOID(true) {Initialize(ec, G, n, k);}
DL_GroupParameters_EC(BufferedTransformation &bt)
- : m_compress(false), m_encodeAsOID(false) {BERDecode(bt);}
+ : m_compress(false), m_encodeAsOID(true) {BERDecode(bt);}
void Initialize(const EllipticCurve &ec, const Point &G, const Integer &n, const Integer &k = Integer::Zero())
{