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:
@@ -24,11 +24,12 @@
|
||||
#ifndef SIGNER_H_
|
||||
#define SIGNER_H_
|
||||
|
||||
typedef enum integrity_algorithm_t integrity_algorithm_t;
|
||||
typedef struct signer_t signer_t;
|
||||
|
||||
#include <types.h>
|
||||
#include <definitions.h>
|
||||
|
||||
typedef enum integrity_algorithm_t integrity_algorithm_t;
|
||||
|
||||
/**
|
||||
* @brief Integrity algorithm, as in IKEv2 RFC 3.3.2.
|
||||
*
|
||||
@@ -54,18 +55,15 @@ enum integrity_algorithm_t {
|
||||
*/
|
||||
extern enum_name_t *integrity_algorithm_names;
|
||||
|
||||
|
||||
typedef struct signer_t signer_t;
|
||||
|
||||
/**
|
||||
* @brief Generig interface for a symmetric signature algorithm.
|
||||
*
|
||||
*
|
||||
* @b Constructors:
|
||||
* - signer_create()
|
||||
* - hmac_signer_create()
|
||||
*
|
||||
*
|
||||
* @todo Implement more integrity algorithms
|
||||
*
|
||||
*
|
||||
* @ingroup signers
|
||||
*/
|
||||
struct signer_t {
|
||||
|
||||
Reference in New Issue
Block a user