PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | BF_ENCRYPT 1 |
#define | BF_LONG unsigned long |
#define | BF_ROUNDS 16 |
Functions | |
void | BF_set_key (int len, unsigned char *data) |
void | BF_encrypt (BF_LONG *data, int encrypt) |
void | BF_cfb64_encrypt (unsigned char *in, unsigned char *out, long length, unsigned char *ivec, int *num, int encrypt) |
Variables | |
BF_LONG | key_P [BF_ROUNDS+2] |
BF_LONG | key_S [4 *256] |
#define BF_ENCRYPT 1 |
Definition at line 80 of file blowfish.h.
#define BF_LONG unsigned long |
Definition at line 86 of file blowfish.h.
#define BF_ROUNDS 16 |
Definition at line 88 of file blowfish.h.
void BF_cfb64_encrypt | ( | unsigned char * | in, |
unsigned char * | out, | ||
long | length, | ||
unsigned char * | ivec, | ||
int * | num, | ||
int | encrypt | ||
) |
Definition at line 82 of file bf_cfb64.c.
References BF_ENCRYPT, BF_encrypt(), BF_LONG, encrypt(), l2n, and n2l.
Referenced by blowfish_main().
void BF_encrypt | ( | BF_LONG * | data, |
int | encrypt | ||
) |
Definition at line 82 of file bf_enc.c.
References BF_ENC, BF_LONG, BF_ROUNDS, encrypt(), key_P, and key_S.
Referenced by __attribute__(), BF_cfb64_encrypt(), and BF_set_key().
void BF_set_key | ( | int | len, |
unsigned char * | data | ||
) |
Definition at line 95 of file bf_skey.c.
References BF_ENCRYPT, BF_encrypt(), bf_init_P, bf_init_S, BF_LONG, BF_ROUNDS, key_P, key_S, L, and local_memcpy().
Referenced by blowfish_main().
Definition at line 89 of file blowfish.h.
BF_LONG key_S[4 *256] |
Definition at line 90 of file blowfish.h.