summaryrefslogtreecommitdiff
path: root/beecrypt/hmacsha256.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-20 20:16:11 +0000
committerjbj <devnull@localhost>2001-09-20 20:16:11 +0000
commit127af901c36a384da5bd12536fcc3c03d7cb5ef8 (patch)
tree93f25b6f6a577de51eb70c1cc309d1d05b70af98 /beecrypt/hmacsha256.h
parentfcc1f6571c7d61b839e3d092b29940bf739c4f4c (diff)
downloadlibrpm-tizen-127af901c36a384da5bd12536fcc3c03d7cb5ef8.tar.gz
librpm-tizen-127af901c36a384da5bd12536fcc3c03d7cb5ef8.tar.bz2
librpm-tizen-127af901c36a384da5bd12536fcc3c03d7cb5ef8.zip
Doxygen fiddles.
CVS patchset: 5065 CVS date: 2001/09/20 20:16:11
Diffstat (limited to 'beecrypt/hmacsha256.h')
-rw-r--r--beecrypt/hmacsha256.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/beecrypt/hmacsha256.h b/beecrypt/hmacsha256.h
index 0aba3e40c..91923f872 100644
--- a/beecrypt/hmacsha256.h
+++ b/beecrypt/hmacsha256.h
@@ -1,8 +1,10 @@
-/*
- * hmacsha256.h
- *
- * HMAC-SHA-256 message authentication code, header
+/** \ingroup HMAC_sha256_m HMAC_m
+ * \file hmacsha256.h
*
+ * HMAC-SHA-256 message authentication code, header.
+ */
+
+/*
* Copyright (c) 2000, 2001 Virtual Unlimited B.V.
*
* Author: Bob Deblier <bob@virtualunlimited.com>
@@ -29,6 +31,8 @@
#include "hmac.h"
#include "sha256.h"
+/** \ingroup HMAC_sha256_m
+ */
typedef struct
{
/*@unused@*/ byte kxi[64];
@@ -40,17 +44,30 @@ typedef struct
extern "C" {
#endif
+/** \ingroup HMAC_sha256_m
+ */
/*@unused@*/ extern BEEDLLAPI const keyedHashFunction hmacsha256;
+/** \ingroup HMAC_sha256_m
+ */
BEEDLLAPI
int hmacsha256Setup (hmacsha256Param* sp, const uint32* key, int keybits)
/*@modifies sp @*/;
+
+/** \ingroup HMAC_sha256_m
+ */
BEEDLLAPI
int hmacsha256Reset (hmacsha256Param* sp)
/*@modifies sp @*/;
+
+/** \ingroup HMAC_sha256_m
+ */
BEEDLLAPI
int hmacsha256Update(hmacsha256Param* sp, const byte* data, int size)
/*@modifies sp @*/;
+
+/** \ingroup HMAC_sha256_m
+ */
BEEDLLAPI
int hmacsha256Digest(hmacsha256Param* sp, uint32* data)
/*@modifies sp, data @*/;