Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
LUC HMP signature algorithm. More...
#include <luc.h>
Public Member Functions | |
void | Sign (const DL_GroupParameters< Integer > ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const |
Sign a message using a private key. | |
bool | Verify (const DL_GroupParameters< Integer > ¶ms, const DL_PublicKey< Integer > &publicKey, const Integer &e, const Integer &r, const Integer &s) const |
Verify a message using a public key. | |
size_t | RLen (const DL_GroupParameters< Integer > ¶ms) const |
Retrieve R length. | |
Public Member Functions inherited from DL_ElgamalLikeSignatureAlgorithm< Integer > | |
virtual Integer | RecoverPresignature (const DL_GroupParameters< Integer > ¶ms, const DL_PublicKey< Integer > &publicKey, const Integer &r, const Integer &s) const |
Recover a Presignature. | |
virtual size_t | SLen (const DL_GroupParameters< Integer > ¶ms) const |
Retrieve S length. | |
virtual bool | IsDeterministic () const |
Signature scheme flag. | |
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
|
inlinevirtual |
|
inlinestatic |
|
virtual |
Sign a message using a private key.
params | GroupParameters |
privateKey | private key |
k | signing exponent |
e | encoded message |
r | r part of signature |
s | s part of signature |
Implements DL_ElgamalLikeSignatureAlgorithm< Integer >.
|
virtual |
Verify a message using a public key.
params | GroupParameters |
publicKey | public key |
e | encoded message |
r | r part of signature |
s | s part of signature |
Implements DL_ElgamalLikeSignatureAlgorithm< Integer >.
|
inlinevirtual |
Retrieve R length.
params | GroupParameters |
Reimplemented from DL_ElgamalLikeSignatureAlgorithm< Integer >.