blob: 65e651d9b91abdbc5853db502846a163ff3bd529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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
|