make osx_write work for any bitrate
[paraslash.git] / crypt.h
1 /** \file crypt.h prototypes for the RSA crypt functions */
2 int para_decrypt_challenge(char *key_file, long unsigned *challenge_nr,
3 unsigned char *buf, int rsa_inlen);
4 int para_encrypt_challenge(char *key_file, long unsigned challenge_nr,
5 unsigned char *outbuf);
6 int para_encrypt_buffer(char *key_file, unsigned char *inbuf, const unsigned len,
7 unsigned char *outbuf);
8 int para_decrypt_buffer(char *key_file, unsigned char *outbuf, unsigned char *inbuf,
9 int rsa_inlen);