=================================================================== RCS file: /home/cvs/OpenXM/src/ox_ntl/crypt/blowfish/blowfish.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM/src/ox_ntl/crypt/blowfish/blowfish.h 2004/07/22 12:12:05 1.1 +++ OpenXM/src/ox_ntl/crypt/blowfish/blowfish.h 2004/09/20 00:10:24 1.2 @@ -1,9 +1,9 @@ -/* $OpenXM$ */ +/* $OpenXM: OpenXM/src/ox_ntl/crypt/blowfish/blowfish.h,v 1.1 2004/07/22 12:12:05 iwane Exp $ */ #ifndef __BLOWFISH_H__ #define __BLOWFISH_H__ -#include +#include typedef struct __blowfish_key_t { uint32_t p[18]; @@ -11,10 +11,18 @@ typedef struct __blowfish_key_t { } blowfish_key; +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + void blowfish_enc_i(const blowfish_key *, uint32_t, uint32_t, uint32_t *, uint32_t *); void blowfish_dec_i(const blowfish_key *, uint32_t, uint32_t, uint32_t *, uint32_t *); void blowfish_setkey(const unsigned char *, int, blowfish_key *); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* __BLOWFISH_H__ */