diff options
Diffstat (limited to 'src/libstrongswan/crypto/crypters/crypter.h')
-rw-r--r-- | src/libstrongswan/crypto/crypters/crypter.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/libstrongswan/crypto/crypters/crypter.h b/src/libstrongswan/crypto/crypters/crypter.h index cb7f9b139..411dfeda6 100644 --- a/src/libstrongswan/crypto/crypters/crypter.h +++ b/src/libstrongswan/crypto/crypters/crypter.h @@ -24,18 +24,19 @@ #ifndef CRYPTER_H_ #define CRYPTER_H_ -#include <types.h> - typedef enum encryption_algorithm_t encryption_algorithm_t; +typedef struct crypter_t crypter_t; + +#include <types.h> /** * @brief Encryption algorithm, as in IKEv2 RFC 3.3.2. - * + * * Currently only the following algorithms are implemented: * - ENCR_AES_CBC * - ENCR_DES * - ENCR_3DES - * + * * @ingroup crypters */ enum encryption_algorithm_t { @@ -62,15 +63,12 @@ enum encryption_algorithm_t { */ extern enum_name_t *encryption_algorithm_names; - -typedef struct crypter_t crypter_t; - /** * @brief Generic interface for symmetric encryption algorithms. - * + * * @b Constructors: * - crypter_create() - * + * * @ingroup crypters */ struct crypter_t { |