/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * This code implements the MD5 message-digest algorithm. * The algorithm is due to Ron Rivest. This code was * written by Colin Plumb in 1993, no copyright is claimed. * This code is in the public domain; do with it what you wish. * * Equivalent code is available from RSA Data Security, Inc. * This code has been tested against that, and is equivalent, * except that you don't need to include two pages of legalese * with every copy. * * To compute the message digest of a chunk of bytes, declare an * MD5Context structure, pass it to rpmMD5Init, call rpmMD5Update as * needed on buffers full of bytes, and then call rpmMD5Final, which * will fill a supplied 16-byte array with the digest. */ /* parts of this file are : * Written March 1993 by Branko Lankester * Modified June 1993 by Colin Plumb for altered md5.c. * Modified October 1995 by Erik Troan for RPM */ #ifndef MD5_UTILS_H #define MD5_UTILS_H #include typedef struct _MD5Context { guint32 buf[4]; guint32 bits[2]; guchar in[64]; gint doByteReverse; } MD5Context; void md5_get_digest (const gchar *buffer, gint buffer_size, guchar digest[16]); /* use this one when speed is needed */ /* for use in provider code only */ void md5_get_digest_from_file (const gchar *filename, guchar digest[16]); /* raw routines */ void md5_init (MD5Context *ctx); void md5_update (MD5Context *ctx, const guchar *buf, guint32 len); void md5_final (MD5Context *ctx, guchar digest[16]); #endif /* MD5_UTILS_H */ FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-PDF-FromHTML
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2016-12-10 23:29:02 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2016-12-10 23:29:02 +0800
commitb1001d70f01d51c768db3a1e8e00cd1b7a245440 (patch)
tree7268e086efcba602ca5f14534bce6f7075c92810 /textproc/p5-PDF-FromHTML
parent2c467c5afbd45537746e9d808e5e92481c8d28b9 (diff)
parent43ae45671e24ac2b498ed0e5af2e3d27383b4320 (diff)
downloadfreebsd-ports-graphics-mesa-next.tar.gz
freebsd-ports-graphics-mesa-next.tar.zst
freebsd-ports-graphics-mesa-next.zip
Merge branch 'master' into mesa-nextHEADmesa-next
Diffstat (limited to 'textproc/p5-PDF-FromHTML')
0 files changed, 0 insertions, 0 deletions