From 3a19ceb903629a9ff7ce85f800c1b4fefc8aa2c5 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 13 Mar 2016 01:32:32 +0100 Subject: Removed unnecessary typedefs from des.h Signed-off-by: Haru --- src/common/des.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/common/des.h') diff --git a/src/common/des.h b/src/common/des.h index e7460e9fd..61cf2c04a 100644 --- a/src/common/des.h +++ b/src/common/des.h @@ -23,12 +23,18 @@ #include "common/hercules.h" +/* Struct definitions */ + /// One 64-bit block. -typedef struct BIT64 { uint8_t b[8]; } BIT64; +struct BIT64 { + uint8_t b[8]; +}; + +/* Interface */ struct des_interface { - void (*decrypt_block) (BIT64* block); - void (*decrypt) (unsigned char* data, size_t size); + void (*decrypt_block) (struct BIT64 *block); + void (*decrypt) (unsigned char *data, size_t size); }; #ifdef HERCULES_CORE -- cgit v1.2.3-70-g09d2