Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_ThresholdCrypto::ThresholdVarRSACrypto< CODEX_VSS::Combinatoric< NumT, ThreshT > > Class Template Reference

Specialization of ThresholdVarRSACrypto for combinatoric secret sharing. More...

#include <CombinatoricThresholdVarRSA.h>

Collaboration diagram for CODEX_ThresholdCrypto::ThresholdVarRSACrypto< CODEX_VSS::Combinatoric< NumT, ThreshT > >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CODEX_VSS::Combinatoric<
NumT, ThreshT > 
ShareType
 Export the type of the sharing.
typedef CODEX_VSS::ShareSet<
ShareType
SetType
 Export the type of the share set.

Public Member Functions

 ThresholdVarRSACrypto (const CODEX_ASN1::BigNumber &modulus)
 Constructor.
void sign (const ShareType &shares, const BIGNUM *message, ShareType &partials) const
 Generate partial signatures.
void decrypt (const ShareType &shares, const CODEX_Ciphers::VarRSACipherText &ciphertext, ShareType &partials) const
 Generate partial decryptions for a regular ciphertext.
void decrypt (const ShareType &shares, const CODEX_Ciphers::VarRSABlindCipherText &ciphertext, ShareType &partials) const
 Generate partial decryptions for a blind ciphertext.
BIGNUM * threshold (const SetType &partials) const
 Perform a threshold operation from shares.

Detailed Description

template<unsigned int NumT, unsigned int ThreshT>
class CODEX_ThresholdCrypto::ThresholdVarRSACrypto< CODEX_VSS::Combinatoric< NumT, ThreshT > >

Specialization of ThresholdVarRSACrypto for combinatoric secret sharing.

Definition at line 32 of file CombinatoricThresholdVarRSA.h.


Member Function Documentation

template<unsigned int NumT, unsigned int ThreshT>
BIGNUM* CODEX_ThresholdCrypto::ThresholdVarRSACrypto< CODEX_VSS::Combinatoric< NumT, ThreshT > >::threshold const SetType partials  )  const [inline]
 

Perform a threshold operation from shares.

This is not simply the recover function for ShareType, since recover is additive, while the threshold operation is multiplicative.

Parameters:
partials The shares that form partial results of the threshold operation.
Returns:
A threshold RSA result, which should then be verified, or 0 if not enough shares were provided.

Definition at line 112 of file CombinatoricThresholdVarRSA.h.


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:52 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1