reconstruct_secret.hpp File Reference
#include <nil/crypto3/pubkey/algorithm/pubkey.hpp>
#include <nil/crypto3/pubkey/pubkey_value.hpp>
#include <nil/crypto3/pubkey/secret_sharing_state.hpp>
#include <nil/crypto3/pubkey/modes/isomorphic.hpp>
Include dependency graph for reconstruct_secret.hpp:
Go to the source code of this file.
Namespaces | |
nil | |
nil::crypto3 | |
nil::crypto3::pubkey | |
Typedefs | |
template<typename Scheme > | |
using | nil::crypto3::pubkey::secret_reconstructing_policy = typename pubkey::modes::isomorphic< Scheme >::secret_reconstructing_policy |
template<typename Scheme > | |
using | nil::crypto3::pubkey::secret_reconstructing_processing_mode_default = typename modes::isomorphic< Scheme >::template bind< secret_reconstructing_policy< Scheme > >::type |
Functions | |
template<typename Scheme , typename SinglePassRange , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>, typename ReconstructionAccumulator = typename pubkey::reconstructing_accumulator_set<ProcessingMode>, typename StreamSchemeImpl = pubkey::detail::value_pubkey_impl<ReconstructionAccumulator>, typename SchemeImpl = pubkey::detail::range_pubkey_impl<StreamSchemeImpl>> | |
SchemeImpl | nil::crypto3::reconstruct_secret (const SinglePassRange &range) |
Reconstruct secret using passed shares. More... | |
template<typename Scheme , typename SinglePassRange , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>, typename OutputAccumulator = typename pubkey::reconstructing_accumulator_set<ProcessingMode>> | |
std::enable_if< boost::accumulators::detail::is_accumulator_set< OutputAccumulator >::value, OutputAccumulator >::type & | nil::crypto3::reconstruct_secret (const SinglePassRange &range, OutputAccumulator &acc) |
Updating of reconstructing accumulator set using passed shares. More... | |
template<typename Scheme , typename SinglePassRange , typename OutputIterator , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>> | |
std::enable_if<!boost::accumulators::detail::is_accumulator_set< OutputIterator >::value, OutputIterator >::type | nil::crypto3::reconstruct_secret (const SinglePassRange &range, OutputIterator out) |
Reconstruct secret using passed shares. More... | |
template<typename Scheme , typename InputIterator , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>, typename ReconstructionAccumulator = typename pubkey::reconstructing_accumulator_set<ProcessingMode>, typename StreamSchemeImpl = pubkey::detail::value_pubkey_impl<ReconstructionAccumulator>, typename SchemeImpl = pubkey::detail::range_pubkey_impl<StreamSchemeImpl>> | |
SchemeImpl | nil::crypto3::reconstruct_secret (InputIterator first, InputIterator last) |
Reconstruct secret using passed shares. More... | |
template<typename Scheme , typename InputIterator , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>, typename OutputAccumulator = typename pubkey::reconstructing_accumulator_set<ProcessingMode>> | |
std::enable_if< boost::accumulators::detail::is_accumulator_set< OutputAccumulator >::value, OutputAccumulator >::type & | nil::crypto3::reconstruct_secret (InputIterator first, InputIterator last, OutputAccumulator &acc) |
Updating of reconstructing accumulator set using passed shares. More... | |
template<typename Scheme , typename InputIterator , typename OutputIterator , typename ProcessingMode = pubkey::secret_reconstructing_processing_mode_default<Scheme>> | |
std::enable_if<!boost::accumulators::detail::is_accumulator_set< OutputIterator >::value, OutputIterator >::type | nil::crypto3::reconstruct_secret (InputIterator first, InputIterator last, OutputIterator out) |
Reconstruct secret using passed shares. More... | |