summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 16:01:16 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 16:01:16 +0100
commit4496be6e29732189769b78f63e491dacb23c961b (patch)
tree5882550f4cf9b516fdd613bbaf4535a7f59d981a /src/types.h
parent20a95ef2731ce21acfe5c1ba97b40001217b0216 (diff)
downloadfastd-4496be6e29732189769b78f63e491dacb23c961b.tar
fastd-4496be6e29732189769b78f63e491dacb23c961b.zip
Convert ghash to the new crypto algorithm scheme
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/types.h b/src/types.h
index 894b2af..352bf7c 100644
--- a/src/types.h
+++ b/src/types.h
@@ -115,6 +115,7 @@ typedef struct fastd_context fastd_context_t;
typedef struct fastd_protocol fastd_protocol_t;
typedef struct fastd_method fastd_method_t;
typedef struct fastd_cipher fastd_cipher_t;
+typedef struct fastd_mac fastd_mac_t;
typedef struct fastd_handshake fastd_handshake_t;
@@ -123,10 +124,6 @@ typedef struct fastd_string_stack fastd_string_stack_t;
typedef struct fastd_resolve_return fastd_resolve_return_t;
-#ifdef USE_CRYPTO_GHASH
-typedef struct fastd_crypto_ghash fastd_crypto_ghash_t;
-#endif
-
typedef union fastd_block128 {
uint8_t b[16];
@@ -145,9 +142,7 @@ typedef struct fastd_method_session_state fastd_method_session_state_t;
typedef struct fastd_cipher_context fastd_cipher_context_t;
typedef struct fastd_cipher_state fastd_cipher_state_t;
-#ifdef USE_CRYPTO_GHASH
-typedef struct fastd_crypto_ghash_context fastd_crypto_ghash_context_t;
-typedef struct fastd_crypto_ghash_state fastd_crypto_ghash_state_t;
-#endif
+typedef struct fastd_mac_context fastd_mac_context_t;
+typedef struct fastd_mac_state fastd_mac_state_t;
#endif /* _FASTD_TYPES_H_ */