rsa.h revision 92559
1/* $OpenBSD: rsa.h,v 1.15 2002/03/04 17:27:39 stevesk Exp $ */ 2/* $FreeBSD: head/crypto/openssh/rsa.h 92559 2002-03-18 10:09:43Z des $ */ 3 4/* 5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * All rights reserved 8 * RSA key generation, encryption and decryption. 9 * 10 * As far as I am concerned, the code I have written for this software 11 * can be used freely for any purpose. Any derived versions of this 12 * software must be clearly marked as such, and if the derived work is 13 * incompatible with the protocol description in the RFC file, it must be 14 * called by a name other than "ssh" or "Secure Shell". 15 */ 16 17#ifndef RSA_H 18#define RSA_H 19 20#include <openssl/bn.h> 21#include <openssl/rsa.h> 22 23void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); 24int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); 25void rsa_generate_additional_parameters(RSA *); 26 27#endif /* RSA_H */ 28