X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt.h;h=d658f89b33e1453587c2a31a771958c36ef2f3d4;hp=82ed4f9dc42face7d7a3cfda25b1a154e341edd8;hb=f269333700038603703ec79c909d514bee731faf;hpb=8e1e5cc794c84fcfee75f701b339ae85a02eb1b8 diff --git a/crypt.h b/crypt.h index 82ed4f9d..d658f89b 100644 --- a/crypt.h +++ b/crypt.h @@ -1,3 +1,4 @@ +#include /** \file crypt.h prototypes for the RSA crypt functions */ int para_decrypt_challenge(char *key_file, long unsigned *challenge_nr, unsigned char *buf, int rsa_inlen); @@ -7,3 +8,4 @@ int para_encrypt_buffer(char *key_file, unsigned char *inbuf, const unsigned len unsigned char *outbuf); int para_decrypt_buffer(char *key_file, unsigned char *outbuf, unsigned char *inbuf, int rsa_inlen); +int get_rsa_key(char *key_file, RSA **rsa, int private);