/* -*- 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 #include "camel-stream.h" typedef struct { 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]); void md5_get_digest_from_stream (CamelStream *stream, 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 */ n4/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/math/orpie
Commit message (Expand)AuthorAgeFilesLines
* Update math/gsl to 1.16 and adjust some dependent portsbf2013-08-271-2/+2
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2
* Update math/gsl to 1.15, and adjust PORTREVISIONbf2011-05-101-2/+2
* - Get Rid MD5 supportmiwi2011-03-201-1/+0
* - Bump PORTREVISION to chase the update of math/gslwen2010-03-291-2/+2
* Chase math/gsl update,makc2009-12-021-2/+2
* - Fix build with recent ocamlamdmi32009-04-222-1/+173
* - Chase gsl shlib bumpmiwi2009-01-131-1/+2
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0
* - Update to 1.5.1jadawin2008-04-104-19/+6
* - Chase the gsl shared lib bump.jadawin2008-04-081-2/+2
* chase math/gsl lib versionijliao2007-06-291-2/+2
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* - Update to 1.4.3miwi2006-09-255-69/+16
* - Bump PORTREVISION and change lib version because math/gsl are updated.mnag2006-05-061-1/+2
* SHA256ifyedwin2006-01-221-0/+1
* Upgrade to 1.4.1.thierry2005-05-062-5/+4
* Bump PORTREVISION after the libgsl update.jylefort2005-05-031-0/+1
* Chase the libgsl update.jylefort2005-05-021-1/+1
* At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1