summaryrefslogtreecommitdiff
path: root/other/openssh-2.1.1p4/rsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/openssh-2.1.1p4/rsa.h')
-rw-r--r--other/openssh-2.1.1p4/rsa.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/other/openssh-2.1.1p4/rsa.h b/other/openssh-2.1.1p4/rsa.h
deleted file mode 100644
index dfbf6f4..0000000
--- a/other/openssh-2.1.1p4/rsa.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/*
2 *
3 * rsa.h
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Fri Mar 3 22:01:06 1995 ylo
11 *
12 * RSA key generation, encryption and decryption.
13 *
14*/
15
16/* RCSID("$OpenBSD: rsa.h,v 1.7 2000/06/20 01:39:44 markus Exp $"); */
17
18#ifndef RSA_H
19#define RSA_H
20
21#include <openssl/bn.h>
22#include <openssl/rsa.h>
23
24/* Calls SSL RSA_generate_key, only copies to prv and pub */
25void rsa_generate_key(RSA * prv, RSA * pub, unsigned int bits);
26
27/*
28 * Indicates whether the rsa module is permitted to show messages on the
29 * terminal.
30 */
31void rsa_set_verbose __P((int verbose));
32
33int rsa_alive __P((void));
34
35void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
36void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
37
38#endif /* RSA_H */