From bcfd22f04c7b09aad8c58375eba2173ec6fc92d6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 14 Jun 2005 12:54:27 +0200 Subject: add crc-32 function --- include/fitz/stm_crypt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/fitz/stm_crypt.h b/include/fitz/stm_crypt.h index 15191caa..4e0bc725 100644 --- a/include/fitz/stm_crypt.h +++ b/include/fitz/stm_crypt.h @@ -4,6 +4,10 @@ * For further encapsulation in filters, or not. */ +/* crc-32 checksum */ + +unsigned long fz_crc32(unsigned long crc, unsigned char *buf, int len); + /* md5 digests */ typedef struct fz_md5_s fz_md5; -- cgit v1.2.3