moved typedefs to beginning of files to solve some include problems

splitted authenticator to have a separate implementation for each auth_method_t
using va_copy to clone va_lists, should fix proplems on AMD64
some other cleanups
This commit is contained in:
Martin Willi
2006-10-30 14:07:05 +00:00
parent 09cb5472bc
commit 382b481795
119 changed files with 1196 additions and 1120 deletions
+2 -2
View File
@@ -24,12 +24,12 @@
#ifndef PRF_HMAC_H_
#define PRF_HMAC_H_
typedef struct hmac_prf_t hmac_prf_t;
#include <types.h>
#include <crypto/prfs/prf.h>
#include <crypto/hashers/hasher.h>
typedef struct hmac_prf_t hmac_prf_t;
/**
* @brief Implementation of prf_t interface using the
* HMAC algorithm.
+3 -5
View File
@@ -24,9 +24,10 @@
#ifndef PRF_H_
#define PRF_H_
#include <types.h>
typedef enum pseudo_random_function_t pseudo_random_function_t;
typedef struct prf_t prf_t;
#include <types.h>
/**
* @brief Pseudo random function, as in IKEv2 RFC 3.3.2.
@@ -52,9 +53,6 @@ enum pseudo_random_function_t {
*/
extern enum_name_t *pseudo_random_function_names;
typedef struct prf_t prf_t;
/**
* @brief Generic interface for pseudo-random-functions.
*