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 21 of file blowfish.h.
#define ENCRYPT 0 |
Definition at line 20 of file blowfish.h.
#define endianBig ((unsigned char) 0x45) |
Definition at line 23 of file blowfish.h.
#define endianLittle ((unsigned char) 0x54) |
Definition at line 24 of file blowfish.h.
#define INCLUDE_BLOWFISH_DEFINE_H |
Definition at line 9 of file blowfish.h.
#define MAXKEYBYTES 56 /* 448 bits */ |
Definition at line 38 of file blowfish.h.
#define S_ISREG | ( | x | ) | ( ((x)&S_IFMT)==S_IFREG ) |
Definition at line 35 of file blowfish.h.
typedef unsigned int uInt32 |
Definition at line 26 of file blowfish.h.
void Blowfish_Decrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 326 of file blowfish.cc.
References F(), i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
Referenced by cond::auth::Cipher::bf_process_alloc().
void Blowfish_Encrypt | ( | BLOWFISH_CTX * | ctx, |
uInt32 * | xl, | ||
uInt32 * | xr | ||
) |
Definition at line 299 of file blowfish.cc.
References F(), i, N, BLOWFISH_CTX::P, and groupFilesInBlocks::temp.
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 355 of file blowfish.cc.
References Blowfish_Encrypt(), AlCaHLTBitMon_QueryRunRegistry::data, i, j, relval_2017::k, N, ORIG_P, ORIG_S, BLOWFISH_CTX::P, and BLOWFISH_CTX::S.
Referenced by cond::auth::Cipher::Cipher().