diff options
author | Martin Willi <martin@strongswan.org> | 2006-10-30 14:07:05 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-10-30 14:07:05 +0000 |
commit | 382b481795d973a94efa1bf5635426566a941718 (patch) | |
tree | 901754b00d54493e9181cd096fd283b220411db3 /src/libstrongswan/crypto/diffie_hellman.h | |
parent | 09cb5472bc51d95e6e0fa9c5321ecb0956fcd6c0 (diff) | |
download | strongswan-382b481795d973a94efa1bf5635426566a941718.tar.bz2 strongswan-382b481795d973a94efa1bf5635426566a941718.tar.xz |
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
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.h')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.h b/src/libstrongswan/crypto/diffie_hellman.h index 4659c7fee..65921a530 100644 --- a/src/libstrongswan/crypto/diffie_hellman.h +++ b/src/libstrongswan/crypto/diffie_hellman.h @@ -24,18 +24,18 @@ #ifndef DIFFIE_HELLMAN_H_ #define DIFFIE_HELLMAN_H_ -#include <types.h> - - typedef enum diffie_hellman_group_t diffie_hellman_group_t; +typedef struct diffie_hellman_t diffie_hellman_t; -/** +#include <types.h> + +/** * @brief Diffie-Hellman group. - * + * * The modulus (or group) to use for a Diffie-Hellman calculation. - * + * * See IKEv2 RFC 3.3.2 and RFC 3526. - * + * * @ingroup transforms */ enum diffie_hellman_group_t { @@ -55,9 +55,6 @@ enum diffie_hellman_group_t { */ extern enum_name_t *diffie_hellman_group_names; - -typedef struct diffie_hellman_t diffie_hellman_t; - /** * @brief Implementation of the widely used Diffie-Hellman algorithm. * |