Crypto++  8.8
Free C++ class library of cryptographic schemes
Public Member Functions | Static Public Member Functions | List of all members
DL_Algorithm_LUC_HMP Class Reference

LUC HMP signature algorithm. More...

+ Inheritance diagram for DL_Algorithm_LUC_HMP:

Public Member Functions

void Sign (const DL_GroupParameters< Integer > &params, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const
 Sign a message using a private key. More...
 
bool Verify (const DL_GroupParameters< Integer > &params, const DL_PublicKey< Integer > &publicKey, const Integer &e, const Integer &r, const Integer &s) const
 Verify a message using a public key. More...
 
size_t RLen (const DL_GroupParameters< Integer > &params) const
 Retrieve R length. More...
 
- Public Member Functions inherited from DL_ElgamalLikeSignatureAlgorithm< Integer >
virtual Integer RecoverPresignature (const DL_GroupParameters< Integer > &params, const DL_PublicKey< Integer > &publicKey, const Integer &r, const Integer &s) const
 Recover a Presignature. More...
 
virtual size_t SLen (const DL_GroupParameters< Integer > &params) const
 Retrieve S length. More...
 
virtual bool IsDeterministic () const
 Signature scheme flag. More...
 

Static Public Member Functions

static const char * StaticAlgorithmName ()
 

Detailed Description

LUC HMP signature algorithm.

Since
Crypto++ 2.1

Definition at line 265 of file luc.h.

Member Function Documentation

◆ Sign()

void DL_Algorithm_LUC_HMP::Sign ( const DL_GroupParameters< Integer > &  params,
const Integer privateKey,
const Integer k,
const Integer e,
Integer r,
Integer s 
) const
virtual

Sign a message using a private key.

Parameters
paramsGroupParameters
privateKeyprivate key
ksigning exponent
eencoded message
rr part of signature
ss part of signature

Implements DL_ElgamalLikeSignatureAlgorithm< Integer >.

Definition at line 23 of file luc.cpp.

◆ Verify()

bool DL_Algorithm_LUC_HMP::Verify ( const DL_GroupParameters< Integer > &  params,
const DL_PublicKey< Integer > &  publicKey,
const Integer e,
const Integer r,
const Integer s 
) const
virtual

Verify a message using a public key.

Parameters
paramsGroupParameters
publicKeypublic key
eencoded message
rr part of signature
ss part of signature

Implements DL_ElgamalLikeSignatureAlgorithm< Integer >.

Definition at line 30 of file luc.cpp.

◆ RLen()

size_t DL_Algorithm_LUC_HMP::RLen ( const DL_GroupParameters< Integer > &  params) const
inlinevirtual

Retrieve R length.

Parameters
paramsGroupParameters

Reimplemented from DL_ElgamalLikeSignatureAlgorithm< Integer >.

Definition at line 275 of file luc.h.


The documentation for this class was generated from the following files: