After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587707 - [GChecksum] HMAC implementation
[GChecksum] HMAC implementation
Status: RESOLVED DUPLICATE of bug 652480
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-07-03 20:08 UTC by Fabrizio Tarizzo
Modified: 2011-06-30 13:29 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Implementation of HMAC functions (32.85 KB, patch)
2009-07-03 20:09 UTC, Fabrizio Tarizzo
none Details | Review

Description Fabrizio Tarizzo 2009-07-03 20:08:29 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.
Comment 1 Fabrizio Tarizzo 2009-07-03 20:09:49 UTC
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
Comment 2 Matthew Barnes 2011-06-29 19:58:28 UTC
At this point, this is a dupe of bug 652480.
Comment 3 Colin Walters 2011-06-30 13:29:42 UTC

*** This bug has been marked as a duplicate of bug 652480 ***