aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/hashers
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-12-04 14:45:57 +0000
committerMartin Willi <martin@strongswan.org>2005-12-04 14:45:57 +0000
commit0743de26be9165d5f8cece84f6d5a82bf503c7d8 (patch)
treec5de1a7a047e0e4c9403bb7a433d3640de5f2773 /Source/charon/transforms/hashers
parentfc5b6b3b653781688bdfd80e4034962d22140f99 (diff)
downloadstrongswan-0743de26be9165d5f8cece84f6d5a82bf503c7d8.tar.bz2
strongswan-0743de26be9165d5f8cece84f6d5a82bf503c7d8.tar.xz
- doxygen constructor declaration, make default ?
Diffstat (limited to 'Source/charon/transforms/hashers')
-rw-r--r--Source/charon/transforms/hashers/hasher.h5
-rw-r--r--Source/charon/transforms/hashers/md5_hasher.h6
-rw-r--r--Source/charon/transforms/hashers/sha1_hasher.h6
3 files changed, 17 insertions, 0 deletions
diff --git a/Source/charon/transforms/hashers/hasher.h b/Source/charon/transforms/hashers/hasher.h
index 90cf89eff..e207b30f1 100644
--- a/Source/charon/transforms/hashers/hasher.h
+++ b/Source/charon/transforms/hashers/hasher.h
@@ -51,6 +51,11 @@ typedef struct hasher_t hasher_t;
/**
* @brief Generic interface for all hash functions.
*
+ * @b Constructors:
+ * - hasher_create()
+ *
+ * @see md5_hasher_t, sha1_hasher_t
+ *
* @ingroup hashers
*/
struct hasher_t {
diff --git a/Source/charon/transforms/hashers/md5_hasher.h b/Source/charon/transforms/hashers/md5_hasher.h
index f73fdb528..9a4b53e15 100644
--- a/Source/charon/transforms/hashers/md5_hasher.h
+++ b/Source/charon/transforms/hashers/md5_hasher.h
@@ -32,6 +32,12 @@ typedef struct md5_hasher_t md5_hasher_t;
* @brief Implementation of hasher_t interface using the
* MD5 algorithm.
*
+ * @b Constructors:
+ * - hasher_create() using HASH_MD5
+ * - md5_hasher_create()
+ *
+ * @see hasher_t
+ *
* @ingroup hashers
*/
struct md5_hasher_t {
diff --git a/Source/charon/transforms/hashers/sha1_hasher.h b/Source/charon/transforms/hashers/sha1_hasher.h
index c712e4b40..d5c0c3230 100644
--- a/Source/charon/transforms/hashers/sha1_hasher.h
+++ b/Source/charon/transforms/hashers/sha1_hasher.h
@@ -32,6 +32,12 @@ typedef struct sha1_hasher_t sha1_hasher_t;
* @brief Implementation of hasher_t interface using the
* SHA1 algorithm.
*
+ * @b Constructors:
+ * - hasher_create() using HASH_SHA1
+ * - sha1_hasher_create()
+ *
+ * @see hasher_t
+ *
* @ingroup hashers
*/
struct sha1_hasher_t {