Cleared virtual destructor warnings under GCC with -Wall
parent
5bd61dcc92
commit
c8fb6567da
|
|
@ -213,6 +213,7 @@ template <class EC>
|
||||||
class DL_Algorithm_ECDSA : public DL_Algorithm_GDSA<typename EC::Point>
|
class DL_Algorithm_ECDSA : public DL_Algorithm_GDSA<typename EC::Point>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_Algorithm_ECDSA() { }
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
|
static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECDSA";}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -221,6 +222,7 @@ template <class EC>
|
||||||
class DL_Algorithm_ECNR : public DL_Algorithm_NR<typename EC::Point>
|
class DL_Algorithm_ECNR : public DL_Algorithm_NR<typename EC::Point>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_Algorithm_ECNR() { }
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
|
static const char * CRYPTOPP_API StaticAlgorithmName() {return "ECNR";}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,7 @@ template <class T>
|
||||||
class DL_Algorithm_GDSA : public DL_ElgamalLikeSignatureAlgorithm<T>
|
class DL_Algorithm_GDSA : public DL_ElgamalLikeSignatureAlgorithm<T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_Algorithm_GDSA() { }
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName() {return "DSA-1363";}
|
static const char * CRYPTOPP_API StaticAlgorithmName() {return "DSA-1363";}
|
||||||
|
|
||||||
void Sign(const DL_GroupParameters<T> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
|
void Sign(const DL_GroupParameters<T> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
|
||||||
|
|
@ -184,6 +185,7 @@ template <class T>
|
||||||
class DL_Algorithm_NR : public DL_ElgamalLikeSignatureAlgorithm<T>
|
class DL_Algorithm_NR : public DL_ElgamalLikeSignatureAlgorithm<T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_Algorithm_NR() { }
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName() {return "NR";}
|
static const char * CRYPTOPP_API StaticAlgorithmName() {return "NR";}
|
||||||
|
|
||||||
void Sign(const DL_GroupParameters<T> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
|
void Sign(const DL_GroupParameters<T> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
|
||||||
|
|
@ -412,6 +414,7 @@ template <class MAC, bool DHAES_MODE>
|
||||||
class DL_EncryptionAlgorithm_Xor : public DL_SymmetricEncryptionAlgorithm
|
class DL_EncryptionAlgorithm_Xor : public DL_SymmetricEncryptionAlgorithm
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_EncryptionAlgorithm_Xor() { }
|
||||||
bool ParameterSupported(const char *name) const {return strcmp(name, Name::EncodingParameters()) == 0;}
|
bool ParameterSupported(const char *name) const {return strcmp(name, Name::EncodingParameters()) == 0;}
|
||||||
size_t GetSymmetricKeyLength(size_t plaintextLength) const
|
size_t GetSymmetricKeyLength(size_t plaintextLength) const
|
||||||
{return plaintextLength + MAC::DEFAULT_KEYLENGTH;}
|
{return plaintextLength + MAC::DEFAULT_KEYLENGTH;}
|
||||||
|
|
@ -488,6 +491,7 @@ template <class T, bool DHAES_MODE, class KDF>
|
||||||
class DL_KeyDerivationAlgorithm_P1363 : public DL_KeyDerivationAlgorithm<T>
|
class DL_KeyDerivationAlgorithm_P1363 : public DL_KeyDerivationAlgorithm<T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_KeyDerivationAlgorithm_P1363() { }
|
||||||
bool ParameterSupported(const char *name) const {return strcmp(name, Name::KeyDerivationParameters()) == 0;}
|
bool ParameterSupported(const char *name) const {return strcmp(name, Name::KeyDerivationParameters()) == 0;}
|
||||||
void Derive(const DL_GroupParameters<T> ¶ms, byte *derivedKey, size_t derivedLength, const T &agreedElement, const T &ephemeralPublicKey, const NameValuePairs ¶meters) const
|
void Derive(const DL_GroupParameters<T> ¶ms, byte *derivedKey, size_t derivedLength, const T &agreedElement, const T &ephemeralPublicKey, const NameValuePairs ¶meters) const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
1
luc.h
1
luc.h
|
|
@ -188,6 +188,7 @@ protected:
|
||||||
class DL_Algorithm_LUC_HMP : public DL_ElgamalLikeSignatureAlgorithm<Integer>
|
class DL_Algorithm_LUC_HMP : public DL_ElgamalLikeSignatureAlgorithm<Integer>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~DL_Algorithm_LUC_HMP() { }
|
||||||
static const char * StaticAlgorithmName() {return "LUC-HMP";}
|
static const char * StaticAlgorithmName() {return "LUC-HMP";}
|
||||||
|
|
||||||
void Sign(const DL_GroupParameters<Integer> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const;
|
void Sign(const DL_GroupParameters<Integer> ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const;
|
||||||
|
|
|
||||||
1
pubkey.h
1
pubkey.h
|
|
@ -1436,6 +1436,7 @@ class DL_KeyAgreementAlgorithm_DH : public DL_KeyAgreementAlgorithm<ELEMENT>
|
||||||
public:
|
public:
|
||||||
typedef ELEMENT Element;
|
typedef ELEMENT Element;
|
||||||
|
|
||||||
|
virtual ~DL_KeyAgreementAlgorithm_DH() { }
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName()
|
static const char * CRYPTOPP_API StaticAlgorithmName()
|
||||||
{return COFACTOR_OPTION::ToEnum() == INCOMPATIBLE_COFACTOR_MULTIPLICTION ? "DHC" : "DH";}
|
{return COFACTOR_OPTION::ToEnum() == INCOMPATIBLE_COFACTOR_MULTIPLICTION ? "DHC" : "DH";}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue