1295367Sdes/* $OpenBSD: rsa.h,v 1.17 2014/06/24 01:13:21 djm Exp $ */ 292559Sdes 357429Smarkm/* 457429Smarkm * Author: Tatu Ylonen <ylo@cs.hut.fi> 557429Smarkm * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 657429Smarkm * All rights reserved 757429Smarkm * RSA key generation, encryption and decryption. 860576Skris * 965674Skris * As far as I am concerned, the code I have written for this software 1065674Skris * can be used freely for any purpose. Any derived versions of this 1165674Skris * software must be clearly marked as such, and if the derived work is 1265674Skris * incompatible with the protocol description in the RFC file, it must be 1365674Skris * called by a name other than "ssh" or "Secure Shell". 1465674Skris */ 1557429Smarkm 1657429Smarkm#ifndef RSA_H 1757429Smarkm#define RSA_H 1857429Smarkm 1957464Sgreen#include <openssl/bn.h> 2057464Sgreen#include <openssl/rsa.h> 2157429Smarkm 22295367Sdesint rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); 2392559Sdesint rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *); 24295367Sdesint rsa_generate_additional_parameters(RSA *); 2557429Smarkm 2657429Smarkm#endif /* RSA_H */ 27