Fabcoin Core  0.16.2
P2P Digital Currency
dsa.h
Go to the documentation of this file.
1 // dsa.h - written and placed in the public domain by Wei Dai
2 
5 
6 #ifndef CRYPTOPP_DSA_H
7 #define CRYPTOPP_DSA_H
8 
9 #include "cryptlib.h"
10 #include "gfpcrypt.h"
11 
13 
14 enum DSASignatureFormat {
24 };
25 
37 size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat,
38  const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat);
39 
41 
42 #endif
size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat, const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat)
Converts between signature encoding formats.
Definition: dsa.cpp:15
uint8_t byte
Definition: Common.h:57
#define NAMESPACE_BEGIN(x)
Definition: config.h:200
DSASignatureFormat
DSA Signature Format.
Definition: dsa.h:17
Abstract base classes that provide a uniform interface to this library.
Crypto++ native signature encoding format.
Definition: dsa.h:19
signature encoding format used by Java and .Net
Definition: dsa.h:21
Classes and functions for schemes based on Discrete Logs (DL) over GF(p)
#define NAMESPACE_END
Definition: config.h:201
OpenPGP signature encoding format.
Definition: dsa.h:23