openssh/dsa.h
Damien Miller 33b13568b5 - OpenBSD CVS update:
- [packet.h packet.c]
     ssh2 packet format
   - [packet.h packet.c nchan2.ms nchan.h compat.h compat.c]
     [channels.h channels.c]
     channel layer support for ssh2
   - [kex.h kex.c hmac.h hmac.c dsa.c dsa.h]
     DSA, keyexchange, algorithm agreement for ssh2
2000-04-04 14:38:59 +10:00

21 lines
449 B
C

#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