/* -*- 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 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 */ es/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
Commit message (Expand)AuthorAgeFilesLines
* KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!Max Brazhnikov2014-10-193-7/+3
* Update the default version of GCC in the Ports Collection from GCC 4.7.4Gerald Pfeifer2014-09-111-1/+1
* Upgrade OpenEXR and ilmbase to 2.2.0.Matthias Andree2014-08-161-0/+1
* KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!Max Brazhnikov2014-05-111-2/+2
* KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!Max Brazhnikov2014-04-032-4/+3
* KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!Max Brazhnikov2014-03-051-2/+2
* KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!Max Brazhnikov2014-02-182-7/+3
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-0/+1
* - Remove MAKE_JOBS_SAFE variableAlex Kozlov2013-08-151-1/+0
* Update the KDE Software Compilation to 4.10.5.Raphael Kubo da Costa2013-07-051-2/+2
* Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.Raphael Kubo da Costa2013-07-031-2/+2
* KDE/FreeBSD team presents KDE SC 4.10.3 ports!Max Brazhnikov2013-05-191-2/+2
* KDE/FreeBSD team presents KDE SC 4.10.1 ports!Max Brazhnikov2013-03-272-5/+5
* Mk/bsd.kde4.mk:Max Brazhnikov2013-03-221-1/+1
* KDE/FreeBSD team presents KDE SC 4.9.5 ports!Max Brazhnikov2013-02-042-7/+2
* KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...Max Brazhnikov2012-06-152-3/+2
* - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4Martin Wilke2012-06-061-2/+1
* - update png to 1.5.10Dirk Meyer2012-06-01