diff options
Diffstat (limited to 'other/openssh-2.1.1p4/dsa.h')
| -rw-r--r-- | other/openssh-2.1.1p4/dsa.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/other/openssh-2.1.1p4/dsa.h b/other/openssh-2.1.1p4/dsa.h new file mode 100644 index 0000000..3cece7c --- /dev/null +++ b/other/openssh-2.1.1p4/dsa.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef DSA_H | ||
| 2 | #define DSA_H | ||
| 3 | |||
| 4 | Key *dsa_key_from_blob(char *blob, int blen); | ||
| 5 | int dsa_make_key_blob(Key *key, unsigned char **blobp, unsigned int *lenp); | ||
| 6 | |||
| 7 | int | ||
| 8 | dsa_sign( | ||
| 9 | Key *key, | ||
| 10 | unsigned char **sigp, int *lenp, | ||
| 11 | unsigned char *data, int datalen); | ||
| 12 | |||
| 13 | int | ||
| 14 | dsa_verify( | ||
| 15 | Key *key, | ||
| 16 | unsigned char *signature, int signaturelen, | ||
| 17 | unsigned char *data, int datalen); | ||
| 18 | |||
| 19 | Key * | ||
| 20 | dsa_generate_key(unsigned int bits); | ||
| 21 | |||
| 22 | #endif | ||
