aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/crypto/hmac.h')
-rw-r--r--src/libstrongswan/crypto/hmac.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libstrongswan/crypto/hmac.h b/src/libstrongswan/crypto/hmac.h
index cddd862c0..0f9ac7071 100644
--- a/src/libstrongswan/crypto/hmac.h
+++ b/src/libstrongswan/crypto/hmac.h
@@ -23,27 +23,26 @@
#ifndef HMAC_H_
#define HMAC_H_
+typedef struct hmac_t hmac_t;
+
#include <crypto/hashers/hasher.h>
#include <definitions.h>
-
-typedef struct hmac_t hmac_t;
-
/**
* @brief Message authentication using hash functions.
- *
+ *
* This class implements the message authenticaion algorithm
* described in RFC2104. It uses a hash function, wich must
* be implemented as a hasher_t class.
- *
+ *
* See http://www.faqs.org/rfcs/rfc2104.html for RFC.
* @see
* - hasher_t
* - prf_hmac_t
- *
+ *
* @b Constructors:
* - hmac_create()
- *
+ *
* @ingroup transforms
*/
struct hmac_t {