diff options
| author | SkyperTHC | 2026-03-03 06:28:55 +0000 |
|---|---|---|
| committer | SkyperTHC | 2026-03-03 06:28:55 +0000 |
| commit | 5d3573ef7a109ee70416fe94db098fe6a769a798 (patch) | |
| tree | dc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/openssh-reverse/dsa.h | |
| parent | c6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff) | |
packetstorm sync
Diffstat (limited to 'other/openssh-reverse/dsa.h')
| -rw-r--r-- | other/openssh-reverse/dsa.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/other/openssh-reverse/dsa.h b/other/openssh-reverse/dsa.h new file mode 100644 index 0000000..3cece7c --- /dev/null +++ b/other/openssh-reverse/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 | ||
