summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/rsa.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-09-29 06:15:00 +0000
committerderaadt <deraadt@openbsd.org>1999-09-29 06:15:00 +0000
commit7d1100f33bfac3e86087179250eb4242cb380287 (patch)
treef9dcdc12295814618f1fcc62a8bf1a97fbbcd15e /usr.bin/ssh/rsa.h
parentopenssl 0.9.4 "openssl" command (diff)
downloadwireguard-openbsd-7d1100f33bfac3e86087179250eb4242cb380287.tar.xz
wireguard-openbsd-7d1100f33bfac3e86087179250eb4242cb380287.zip
test for RSA in the ssl library, real early on
Diffstat (limited to 'usr.bin/ssh/rsa.h')
-rw-r--r--usr.bin/ssh/rsa.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/ssh/rsa.h b/usr.bin/ssh/rsa.h
index a775c824fce..a1023a2a0c4 100644
--- a/usr.bin/ssh/rsa.h
+++ b/usr.bin/ssh/rsa.h
@@ -13,7 +13,7 @@ RSA key generation, encryption and decryption.
*/
-/* RCSID("$Id: rsa.h,v 1.1 1999/09/28 04:45:37 provos Exp $"); */
+/* RCSID("$Id: rsa.h,v 1.2 1999/09/29 06:15:00 deraadt Exp $"); */
#ifndef RSA_H
#define RSA_H
@@ -26,9 +26,11 @@ void rsa_generate_key(RSA *prv, RSA *pub, unsigned int bits);
/* Indicates whether the rsa module is permitted to show messages on
the terminal. */
-void rsa_set_verbose(int verbose);
+void rsa_set_verbose __P((int verbose));
-void rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *prv);
-void rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *prv);
+int rsa_alive __P((void));
+
+void rsa_public_encrypt __P((BIGNUM *out, BIGNUM *in, RSA *prv));
+void rsa_private_decrypt __P((BIGNUM *out, BIGNUM *in, RSA *prv));
#endif /* RSA_H */