mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
docs: Move the GHmac SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
4ef365e5d0
commit
7d5b6e1a85
@ -37,9 +37,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* SECTION:hmac
|
||||
* @title: Secure HMAC Digests
|
||||
* @short_description: computes the HMAC for data
|
||||
* GHmac:
|
||||
*
|
||||
* HMACs should be used when producing a cookie or hash based on data
|
||||
* and a key. Simple mechanisms for using SHA1 and other algorithms to
|
||||
@ -53,6 +51,11 @@
|
||||
*
|
||||
* Support for HMAC Digests has been added in GLib 2.30, and support for SHA-512
|
||||
* in GLib 2.42. Support for SHA-384 was added in GLib 2.52.
|
||||
*
|
||||
* To create a new `GHmac`, use [ctor@GLib.Hmac.new]. To free a `GHmac`, use
|
||||
* [method@GLib.Hmac.unref].
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
|
||||
struct _GHmac
|
||||
|
@ -30,15 +30,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GHmac:
|
||||
*
|
||||
* An opaque structure representing a HMAC operation.
|
||||
* To create a new GHmac, use g_hmac_new(). To free
|
||||
* a GHmac, use g_hmac_unref().
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
typedef struct _GHmac GHmac;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
|
Loading…
Reference in New Issue
Block a user