]> andersk Git - openssh.git/blame - rsa.h
- (djm) Fix server not exiting with jobs in background.
[openssh.git] / rsa.h
CommitLineData
8efc0c15 1/*
6ae2364d 2 *
5260325f 3 * rsa.h
6ae2364d 4 *
5260325f 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6ae2364d 6 *
5260325f 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
6ae2364d 9 *
5260325f 10 * Created: Fri Mar 3 22:01:06 1995 ylo
6ae2364d 11 *
5260325f 12 * RSA key generation, encryption and decryption.
6ae2364d 13 *
8efc0c15 14*/
15
74fc9186 16/* RCSID("$OpenBSD: rsa.h,v 1.7 2000/06/20 01:39:44 markus Exp $"); */
8efc0c15 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 */
5260325f 25void rsa_generate_key(RSA * prv, RSA * pub, unsigned int bits);
8efc0c15 26
aa3378df 27/*
28 * Indicates whether the rsa module is permitted to show messages on the
29 * terminal.
30 */
5260325f 31void rsa_set_verbose __P((int verbose));
8efc0c15 32
5260325f 33int rsa_alive __P((void));
8efc0c15 34
5260325f 35void rsa_public_encrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
36void rsa_private_decrypt __P((BIGNUM * out, BIGNUM * in, RSA * prv));
8efc0c15 37
5260325f 38#endif /* RSA_H */
This page took 0.070572 seconds and 5 git commands to generate.