From 63910439f77b91848dda094ef6e90523e1f7efa6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 13 Mar 2009 01:50:09 +0000 Subject: added command line option for auth tag length --- src/auth_algo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/auth_algo.h') diff --git a/src/auth_algo.h b/src/auth_algo.h index 7202b47..1b0aa01 100644 --- a/src/auth_algo.h +++ b/src/auth_algo.h @@ -41,6 +41,7 @@ #include #endif #include "key_derivation.h" +#include "encrypted_packet.h" enum auth_algo_type_enum { aa_unknown, aa_null, aa_sha1 }; typedef enum auth_algo_type_enum auth_algo_type_t; @@ -52,6 +53,8 @@ struct auth_algo_struct { }; typedef struct auth_algo_struct auth_algo_t; +auth_algo_type_t auth_algo_get_type(const char* type); +u_int32_t auth_algo_get_max_length(const char* type); int auth_algo_init(auth_algo_t* aa, const char* type); void auth_algo_close(auth_algo_t* aa); -- cgit v1.2.3