summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-04-02 23:58:23 -0400
committerGitHub <noreply@github.com>2018-04-02 23:58:23 -0400
commit9888d22d4bd2d090c9d67bde1e096ec80b046b3d (patch)
treedd45bfff90fe01dbc3d443bd2c04fb23f187667a /eccrypto.cpp
parent04c990e5c7d8577efeb7dc9c16da61412f01306b (diff)
downloadcryptopp-git-9888d22d4bd2d090c9d67bde1e096ec80b046b3d.tar.gz
Rename ECGDSA_ISO15946 -> ECGDSA (#634)
Diffstat (limited to 'eccrypto.cpp')
-rw-r--r--eccrypto.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/eccrypto.cpp b/eccrypto.cpp
index b864e8e5..d7a0dda8 100644
--- a/eccrypto.cpp
+++ b/eccrypto.cpp
@@ -747,7 +747,7 @@ void DL_PrivateKey_EC<EC>::DEREncodePrivateKey(BufferedTransformation &bt) const
// ******************************************************************
template <class EC>
-void DL_PublicKey_ECGDSA_ISO15946<EC>::BERDecodePublicKey(BufferedTransformation &bt, bool parametersPresent, size_t size)
+void DL_PublicKey_ECGDSA<EC>::BERDecodePublicKey(BufferedTransformation &bt, bool parametersPresent, size_t size)
{
CRYPTOPP_UNUSED(parametersPresent);
@@ -758,7 +758,7 @@ void DL_PublicKey_ECGDSA_ISO15946<EC>::BERDecodePublicKey(BufferedTransformation
}
template <class EC>
-void DL_PublicKey_ECGDSA_ISO15946<EC>::DEREncodePublicKey(BufferedTransformation &bt) const
+void DL_PublicKey_ECGDSA<EC>::DEREncodePublicKey(BufferedTransformation &bt) const
{
this->GetGroupParameters().GetCurve().EncodePoint(bt, this->GetPublicElement(), this->GetGroupParameters().GetPointCompression());
}
@@ -766,7 +766,7 @@ void DL_PublicKey_ECGDSA_ISO15946<EC>::DEREncodePublicKey(BufferedTransformation
// ******************************************************************
template <class EC>
-void DL_PrivateKey_ECGDSA_ISO15946<EC>::BERDecodePrivateKey(BufferedTransformation &bt, bool parametersPresent, size_t size)
+void DL_PrivateKey_ECGDSA<EC>::BERDecodePrivateKey(BufferedTransformation &bt, bool parametersPresent, size_t size)
{
CRYPTOPP_UNUSED(size);
BERSequenceDecoder seq(bt);
@@ -805,7 +805,7 @@ void DL_PrivateKey_ECGDSA_ISO15946<EC>::BERDecodePrivateKey(BufferedTransformati
}
template <class EC>
-void DL_PrivateKey_ECGDSA_ISO15946<EC>::DEREncodePrivateKey(BufferedTransformation &bt) const
+void DL_PrivateKey_ECGDSA<EC>::DEREncodePrivateKey(BufferedTransformation &bt) const
{
DERSequenceEncoder privateKey(bt);
DEREncodeUnsigned<word32>(privateKey, 1); // version