aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/hashers/hasher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/crypto/hashers/hasher.h')
-rw-r--r--src/libstrongswan/crypto/hashers/hasher.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libstrongswan/crypto/hashers/hasher.h b/src/libstrongswan/crypto/hashers/hasher.h
index ed3defb05..3c6192f01 100644
--- a/src/libstrongswan/crypto/hashers/hasher.h
+++ b/src/libstrongswan/crypto/hashers/hasher.h
@@ -24,15 +24,14 @@
#ifndef HASHER_H_
#define HASHER_H_
+typedef enum hash_algorithm_t hash_algorithm_t;
+typedef struct hasher_t hasher_t;
#include <types.h>
-
-typedef enum hash_algorithm_t hash_algorithm_t;
-
/**
* @brief Algorithms to use for hashing.
- *
+ *
* Currently only the following algorithms are implemented:
* - HASH_MD5
* - HASH_SHA1
@@ -70,8 +69,6 @@ enum hash_algorithm_t {
extern enum_name_t *hash_algorithm_names;
-typedef struct hasher_t hasher_t;
-
/**
* @brief Generic interface for all hash functions.
*