GNOME Bugzilla – Bug 587707
[GChecksum] HMAC implementation
Last modified: 2011-06-30 13:29:42 UTC
I've written an Hash Message Authentication Code (HMAC) implementation based on GChecksum. I submit it for review and in case inclusion in glib.
Created attachment 137811 [details] [review] Implementation of HMAC functions Adds API for Hash Message Authentication Code (HMAC) based on GChecksum. Changes summary: * glib/gchecksum.c: * glib/gchecksum.h: Adds a new public function g_checksum_type_get_data_block_size() needed for implementing HMAC * glib/gchecksumhmac.c: HMAC API implementation * glib/gchecksumhmac.h: HMAC API definition * glib/tests/hmac.c: Standard test suite for HMAC (RFC 2202 and RFC 4231) * glib/glib.h: Add #include <glib/gchecksumhmac.h> * glib/Makefile.am: * glib/tests/Makefile.am: Add references to new files
At this point, this is a dupe of bug 652480.
*** This bug has been marked as a duplicate of bug 652480 ***