summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbcrypto.h
blob: fec095edb8578d66cd583ca0bcd7eb9d0587649b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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