diff options
Diffstat (limited to 'Source/charon/transforms/hashers/hasher.h')
-rw-r--r-- | Source/charon/transforms/hashers/hasher.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/transforms/hashers/hasher.h b/Source/charon/transforms/hashers/hasher.h index a20ec6813..8b4699a3e 100644 --- a/Source/charon/transforms/hashers/hasher.h +++ b/Source/charon/transforms/hashers/hasher.h @@ -26,23 +26,23 @@ #include <types.h> +typedef enum hash_algorithm_t hash_algorithm_t; + /** * algorithms to use for hashing */ -typedef enum hash_algorithm_e hash_algorithm_t; - -enum hash_algorithm_e { +enum hash_algorithm_t { HASH_SHA1, HASH_MD5 }; +typedef struct hasher_t hasher_t; + /** * Object representing a hasher */ -typedef struct hasher_s hasher_t; - -struct hasher_s { +struct hasher_t { /** * @brief hash data and write it in the buffer * |