summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/rsa.h b/rsa.h
index 93a2dac85..57d72cc78 100644
--- a/rsa.h
+++ b/rsa.h
@@ -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 */
23void 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 */
29void rsa_set_verbose __P((int verbose));
30
31int rsa_alive __P((void));
32
33void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); 22void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
34void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv)); 23void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
35 24