diff options
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. * |