diff options
Diffstat (limited to 'rsa.h')
-rw-r--r-- | rsa.h | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -11,7 +11,7 @@ | |||
11 | * called by a name other than "ssh" or "Secure Shell". | 11 | * called by a name other than "ssh" or "Secure Shell". |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* RCSID("$OpenBSD: rsa.h,v 1.8 2000/09/07 20:27:53 deraadt Exp $"); */ | 14 | /* RCSID("$OpenBSD: rsa.h,v 1.9 2000/11/12 19:50:38 markus Exp $"); */ |
15 | 15 | ||
16 | #ifndef RSA_H | 16 | #ifndef RSA_H |
17 | #define RSA_H | 17 | #define RSA_H |
@@ -19,17 +19,6 @@ | |||
19 | #include <openssl/bn.h> | 19 | #include <openssl/bn.h> |
20 | #include <openssl/rsa.h> | 20 | #include <openssl/rsa.h> |
21 | 21 | ||
22 | /* Calls SSL RSA_generate_key, only copies to prv and pub */ | ||
23 | void rsa_generate_key(RSA * prv, RSA * pub, unsigned int bits); | ||
24 | |||
25 | /* | ||
26 | * Indicates whether the rsa module is permitted to show messages on the | ||
27 | * terminal. | ||
28 | */ | ||
29 | void rsa_set_verbose __P((int verbose)); | ||
30 | |||
31 | int rsa_alive __P((void)); | ||
32 | |||
33 | void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); | 22 | void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); |
34 | void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); | 23 | void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); |
35 | 24 | ||