00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00032 #ifndef _DSA_H
00033 #define _DSA_H
00034
00035 #include "dlkp.h"
00036
00037 typedef dldp_p dsaparam;
00038 typedef dlpk_p dsapub;
00039 typedef dlkp_p dsakp;
00040
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044
00064 BEECRYPTAPI
00065 int dsasign(const mpbarrett* p, const mpbarrett* q, const mpnumber* g, randomGeneratorContext*, const mpnumber* hm, const mpnumber* x, mpnumber* r, mpnumber* s);
00066
00088 BEECRYPTAPI
00089 int dsavrfy(const mpbarrett* p, const mpbarrett* q, const mpnumber* g, const mpnumber* hm, const mpnumber* y, const mpnumber* r, const mpnumber* s);
00090
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094
00095 #endif