Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_VSS::VRecon< Combinatoric< N, T >, ModExpFunctional > Class Template Reference

Instantiation of VRecon using combinatoric sharing and modular exponentiation. More...

#include <CombinatoricFeldman.h>

Collaboration diagram for CODEX_VSS::VRecon< Combinatoric< N, T >, ModExpFunctional >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Combinatoric< N, T > ShareType
 Export the type of the shares.

typedef ModExpFunctional OneWay
 Export the type of the one-way function.

typedef CODEX_ASN1::BigNumber ValueType
 Export the basic type of share data.


Public Methods

 VRecon (const OneWay &func)
 Constructor.

void operator() (const ValueType vc[NumShares], ValueType &result)
 Perform the reconstruction.

bool checkShare (const ValueType checks[NumShares], const ShareType &share, const OneWay &func)
 Test a share against the validity check in the label.


Static Public Attributes

const unsigned int NumShares = ShareType::NumShares
 Shorthand for the number of verification shares.


Detailed Description

template<unsigned int N, unsigned int T>
class CODEX_VSS::VRecon< Combinatoric< N, T >, ModExpFunctional >

Instantiation of VRecon using combinatoric sharing and modular exponentiation.

Definition at line 33 of file CombinatoricFeldman.h.


Member Function Documentation

template<unsigned int N, unsigned int T>
void CODEX_VSS::VRecon< Combinatoric< N, T >, ModExpFunctional >::operator() const ValueType    vc[NumShares],
ValueType   result
[inline]
 

Perform the reconstruction.

Parameters:
vc  Array of verification shares
result  Reconstruction of the verification shares (or uninitialized on failure)

Definition at line 57 of file CombinatoricFeldman.h.

References CODEX_VSS::VRecon< _ShareType, _OneWay >::ValueType.


The documentation for this class was generated from the following file:
Generated on Wed Jun 2 16:33:25 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18