diff options
Diffstat (limited to 'common/rfbcrypto.h')
-rw-r--r-- | common/rfbcrypto.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/rfbcrypto.h b/common/rfbcrypto.h new file mode 100644 index 0000000..fec095e --- /dev/null +++ b/common/rfbcrypto.h @@ -0,0 +1,16 @@ +#ifndef _RFB_CRYPTO_H +#define _RFB_CRYPTO_H 1 + +#include "rfb/rfbconfig.h" + +#define SHA1_HASH_SIZE 20 +#define MD5_HASH_SIZE 16 + +#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H +#include <sys/uio.h> + +void digestmd5(const struct iovec *iov, int iovcnt, void *dest); +void digestsha1(const struct iovec *iov, int iovcnt, void *dest); +#endif + +#endif |