#include "beecrypt/dlkp.h"
Include dependency graph for dsa.h:

Go to the source code of this file.
Typedefs | |
| typedef dldp_p | dsaparam |
| typedef dlpk_p | dsapub |
| typedef dlkp_p | dsakp |
Functions | |
| BEECRYPTAPI int | dsasign (const mpbarrett *p, const mpbarrett *q, const mpnumber *g, randomGeneratorContext *, const mpnumber *hm, const mpnumber *x, mpnumber *r, mpnumber *s) |
| This function performs a raw DSA signature. | |
| BEECRYPTAPI int | dsavrfy (const mpbarrett *p, const mpbarrett *q, const mpnumber *g, const mpnumber *hm, const mpnumber *y, const mpnumber *r, const mpnumber *s) |
| This function performs a raw DSA verification. | |
| BEECRYPTAPI int | dsaparamMake (dsaparam *, randomGeneratorContext *, size_t) |
| This function generates a set of DSA parameters. | |
FIPS 186 specifies the DSA algorithm as having a large prime
, a cofactor
and a generator
of a subgroup of
with order
. The private and public key values are
and
respectively.
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
This function generates a set of DSA parameters. This function calls dldp_pgoqMake with appropriate parameters, i.e. qsize = 160 bits and cofactor = 1.
|
|
||||||||||||||||||||||||||||||||||||
|
This function performs a raw DSA signature. Signing equations:
|
|
||||||||||||||||||||||||||||||||
|
This function performs a raw DSA verification. Verifying equations:
|
1.4.0