hmac: Implementation of HMAC in glib
authorStef Walter <stefw@collabora.co.uk>
Sun, 14 Aug 2011 07:27:45 +0000 (09:27 +0200)
committerStef Walter <stefw@collabora.co.uk>
Sun, 14 Aug 2011 07:27:45 +0000 (09:27 +0200)
commitacbcb8f7e37b1c0ff872fdbb74df7de690bc2c6f
tree0a50c2680cdcc729075739c8c33330b01b87bef8
parentd2ca14c270a8a0c01d8a897fad4ea2a9c2e31105
hmac: Implementation of HMAC in glib

This implements g_hmac_xxx() functionality using the standard checksum
functions supported by glib.

HMAC is a secure way to hash a key and a password. Many other
approaches fraught with append and prepend issues.

Includes test cases defined in relevant RFCs

https://bugzilla.gnome.org/show_bug.cgi?id=652480
docs/reference/glib/glib-sections.txt
glib/Makefile.am
glib/ghmac.c [new file with mode: 0644]
glib/ghmac.h [new file with mode: 0644]
glib/glib.h
glib/glib.symbols
glib/tests/.gitignore
glib/tests/Makefile.am
glib/tests/hmac.c [new file with mode: 0644]