Go to the source code of this file.
Classes | |
struct | BCoptions |
struct | BLOWFISH_CTX |
Macros | |
#define | DECRYPT 1 |
#define | ENCRYPT 0 |
#define | endianBig ((unsigned char)0x45) |
#define | endianLittle ((unsigned char)0x54) |
#define | INCLUDE_BLOWFISH_DEFINE_H |
#define | MAXKEYBYTES 56 /* 448 bits */ |
#define | S_ISREG(x) (((x)&S_IFMT) == S_IFREG) |
Typedefs | |
typedef unsigned int | uInt32 |
Functions | |
void | Blowfish_Decrypt (BLOWFISH_CTX *ctx, uInt32 *xl, uInt32 *xr) |
void | Blowfish_Encrypt (BLOWFISH_CTX *ctx, uInt32 *xl, uInt32 *xr) |
void | Blowfish_Init (BLOWFISH_CTX *ctx, unsigned char *key, int keyLen) |
#define DECRYPT 1 |
Definition at line 20 of file blowfish.h.
#define ENCRYPT 0 |
Definition at line 19 of file blowfish.h.
#define endianBig ((unsigned char)0x45) |
Definition at line 22 of file blowfish.h.
#define endianLittle ((unsigned char)0x54) |
Definition at line 23 of file blowfish.h.
#define INCLUDE_BLOWFISH_DEFINE_H |
Definition at line 8 of file blowfish.h.
#define MAXKEYBYTES 56 /* 448 bits */ |
Definition at line 37 of file blowfish.h.
#define S_ISREG | ( | x | ) | (((x)&S_IFMT) == S_IFREG) |
Definition at line 34 of file blowfish.h.
typedef unsigned int uInt32 |
Definition at line 25 of file blowfish.h.
void Blowfish_Decrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 207 of file blowfish.cc.
References F(), mps_fire::i, N, BLOWFISH_CTX::P, groupFilesInBlocks::temp, and mkfit::Config::xr.
Referenced by cond::auth::Cipher::bf_process_alloc().
void Blowfish_Encrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 181 of file blowfish.cc.
References F(), mps_fire::i, N, BLOWFISH_CTX::P, groupFilesInBlocks::temp, and mkfit::Config::xr.
Referenced by cond::auth::Cipher::bf_process_alloc(), and Blowfish_Init().
void Blowfish_Init | ( | BLOWFISH_CTX * | ctx, |
unsigned char * | key, | ||
int | keyLen | ||
) |
Definition at line 235 of file blowfish.cc.
References Blowfish_Encrypt(), data, mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, N, ORIG_P, ORIG_S, BLOWFISH_CTX::P, and BLOWFISH_CTX::S.
Referenced by cond::auth::Cipher::Cipher().