diff options
author | lloyd <[email protected]> | 2012-05-25 16:57:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-25 16:57:27 +0000 |
commit | c688bd9b65dd462f4e738fe61cb86e227284a43a (patch) | |
tree | 6dfffef8bab224678f0b2b169ff946d07f43015f /src/constructs/srp6 | |
parent | dde0df62b9453f84d2abbe32a7e44e87487f7e80 (diff) |
Include <string> in buf_comp.h and filter.h as we used std::string but
were not including it in the header chain. Caused compilation
failures using Clang 3.1 using libc++.
Remove the 3-argument version of hash_seq in SRP6, was not being used.
Diffstat (limited to 'src/constructs/srp6')
-rw-r--r-- | src/constructs/srp6/srp6.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/constructs/srp6/srp6.cpp b/src/constructs/srp6/srp6.cpp index 569454350..f1927b648 100644 --- a/src/constructs/srp6/srp6.cpp +++ b/src/constructs/srp6/srp6.cpp @@ -29,22 +29,6 @@ BigInt hash_seq(const std::string& hash_id, return BigInt::decode(hash_fn->final()); } -BigInt hash_seq(const std::string& hash_id, - size_t pad_to, - const BigInt& in1, - const BigInt& in2, - const BigInt& in3) - { - std::unique_ptr<HashFunction> hash_fn( - global_state().algorithm_factory().make_hash_function(hash_id)); - - hash_fn->update(BigInt::encode_1363(in1, pad_to)); - hash_fn->update(BigInt::encode_1363(in2, pad_to)); - hash_fn->update(BigInt::encode_1363(in3, pad_to)); - - return BigInt::decode(hash_fn->final()); - } - BigInt compute_x(const std::string& hash_id, const std::string& identifier, const std::string& password, |