diff options
author | Jack Lloyd <[email protected]> | 2017-12-27 12:00:23 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-27 12:00:23 -0500 |
commit | 61d22f79bcef4c22f95e29b2fdd038c95443480a (patch) | |
tree | 9192f0d6bf49990de0b9add2e3264b5d1a384f89 /src/lib/pubkey/xmss/xmss_wots_privatekey.cpp | |
parent | 52d1613ad0505596d3a8be032eb3be3f50285e53 (diff) |
Remove the unused XMSS-WOTS operations
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_privatekey.cpp')
-rw-r--r-- | src/lib/pubkey/xmss/xmss_wots_privatekey.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.cpp b/src/lib/pubkey/xmss/xmss_wots_privatekey.cpp index 8a1ac05ef..5b48d2d4d 100644 --- a/src/lib/pubkey/xmss/xmss_wots_privatekey.cpp +++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.cpp @@ -8,7 +8,6 @@ * Botan is released under the Simplified BSD License (see license.txt) **/ -#include <botan/internal/xmss_wots_signature_operation.h> #include <botan/xmss_wots_privatekey.h> namespace Botan { @@ -80,16 +79,4 @@ XMSS_WOTS_PrivateKey::sign(const secure_vector<uint8_t>& msg, return sig; } -std::unique_ptr<PK_Ops::Signature> -XMSS_WOTS_PrivateKey::create_signature_op(RandomNumberGenerator&, - const std::string&, - const std::string& provider) const - { - if(provider == "base" || provider.empty()) - return std::unique_ptr<PK_Ops::Signature>( - new XMSS_WOTS_Signature_Operation(*this)); - - throw Provider_Not_Found(algo_name(), provider); - } - } |