File: [local] / src / usr.bin / ssh / Attic / dsa.h (download)
Revision 1.1, Mon Apr 3 20:06:15 2000 UTC (24 years, 2 months ago) by markus
Branch: MAIN
DSA, keyexchange, algorithm agreement for ssh2
|
#ifndef DSA_H
#define DSA_H
Key *dsa_serverkey_from_blob(char *serverhostkey, int serverhostkeylen);
Key *dsa_get_serverkey(char *filename);
int dsa_make_serverkey_blob(Key *key, unsigned char **blobp, unsigned int *lenp);
int
dsa_sign(
Key *key,
unsigned char **sigp, int *lenp,
unsigned char *hash, int hlen);
int
dsa_verify(
Key *key,
unsigned char *signature, int signaturelen,
unsigned char *hash, int hlen);
#endif