summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbcrypto.h
blob: 9dc3e6305d88b28e4d8c222c2a10fe067f6454b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _RFB_CRYPTO_H
#define _RFB_CRYPTO_H 1

#include <sys/uio.h>

#define SHA1_HASH_SIZE 20
#define MD5_HASH_SIZE 16

void digestmd5(const struct iovec *iov, int iovcnt, void *dest);
void digestsha1(const struct iovec *iov, int iovcnt, void *dest);

#endif