Add GChecksum, a generic wrapper around various hashing algorithms. At the

2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
	various hashing algorithms. At the moment, the MD5, SHA-1 and
	SHA-256 algorithms are supported. (#443648)

	* glib/glib.h:
	* glib/Makefile.am:
	* glib/glib.symbols: Build glue for GChecksum

	* tests/Makefile.am
	* tests/checksum-test.c: Add test suite for GChecksum.

svn path=/trunk/; revision=6042
This commit is contained in:
Emmanuele Bassi
2007-12-04 16:31:51 +00:00
committed by Emmanuele Bassi
parent 450c704f3e
commit f17db34652
8 changed files with 1669 additions and 0 deletions

View File

@@ -171,6 +171,19 @@ g_cache_value_foreach
#endif
#endif
#if IN_HEADER(__G_CHECKSUM_H__)
#if IN_FILE(__G_CHECKSUM_C__)
g_checksum_new
g_checksum_copy
g_checksum_free
g_checksum_update
g_checksum_get_string
g_checksum_get_digest
g_compute_checksum_for_data
g_compute_checksum_for_string
#endif
#endif
#if IN_HEADER(__G_COMPLETION_H__)
#if IN_FILE(__G_COMPLETION_C__)
g_completion_add_items