rsa.h revision 181097
175584Sru/* $OpenBSD: rsa.h,v 1.16 2006/03/25 22:22:43 djm Exp $ */ 275584Sru 375584Sru/* 475584Sru * Author: Tatu Ylonen <ylo@cs.hut.fi> 5114402Sru * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6114402Sru * All rights reserved 7114402Sru * RSA key generation, encryption and decryption. 8114402Sru * 9114402Sru * As far as I am concerned, the code I have written for this software 10114402Sru * can be used freely for any purpose. Any derived versions of this 11114402Sru * software must be clearly marked as such, and if the derived work is 12114402Sru * incompatible with the protocol description in the RFC file, it must be 13114402Sru * called by a name other than "ssh" or "Secure Shell". 14114402Sru */ 15114402Sru 16114402Sru#ifndef RSA_H 17114402Sru#define RSA_H 18114402Sru 19114402Sru#include <openssl/bn.h> 20114402Sru#include <openssl/rsa.h> 21114402Sru 22114402Sruvoid rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); 23114402Sruint rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); 24114402Sruvoid rsa_generate_additional_parameters(RSA *); 25114402Sru 26114402Sru#endif /* RSA_H */ 27114402Sru