aboutsummaryrefslogtreecommitdiff
path: root/src/ecwrapper.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-19 12:29:41 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-19 12:29:41 +0100
commit230f7a833d52dcaa6eaeab46fe0a56a6487c86d1 (patch)
tree549b40279a9839ff1662abf39842b68f990befd7 /src/ecwrapper.h
parent271061242b0bf2fd0864ffc053f0435eb1dcf992 (diff)
downloadbitcoin-230f7a833d52dcaa6eaeab46fe0a56a6487c86d1.tar.xz
Remove unused ecwrapper code
Diffstat (limited to 'src/ecwrapper.h')
-rw-r--r--src/ecwrapper.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ecwrapper.h b/src/ecwrapper.h
index a7847d190c..30c3db7931 100644
--- a/src/ecwrapper.h
+++ b/src/ecwrapper.h
@@ -21,16 +21,9 @@ public:
CECKey();
~CECKey();
- void GetSecretBytes(unsigned char vch[32]) const;
- void SetSecretBytes(const unsigned char vch[32]);
- int GetPrivKeySize(bool fCompressed);
- int GetPrivKey(unsigned char* privkey, bool fCompressed);
- bool SetPrivKey(const unsigned char* privkey, size_t size, bool fSkipCheck=false);
void GetPubKey(std::vector<unsigned char>& pubkey, bool fCompressed);
bool SetPubKey(const unsigned char* pubkey, size_t size);
- bool Sign(const uint256 &hash, std::vector<unsigned char>& vchSig);
bool Verify(const uint256 &hash, const std::vector<unsigned char>& vchSig);
- bool SignCompact(const uint256 &hash, unsigned char *p64, int &rec);
// reconstruct public key from a compact signature
// This is only slightly more CPU intensive than just verifying it.
@@ -38,7 +31,6 @@ public:
// (the signature is a valid signature of the given data for that key)
bool Recover(const uint256 &hash, const unsigned char *p64, int rec);
- static bool TweakSecret(unsigned char vchSecretOut[32], const unsigned char vchSecretIn[32], const unsigned char vchTweak[32]);
bool TweakPublic(const unsigned char vchTweak[32]);
static bool SanityCheck();
};