PandA-2024.02
Macros | Functions | Variables
blowfish.h File Reference
This graph shows which files directly or indirectly include this file:

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]
 

Macro Definition Documentation

◆ BF_ENCRYPT

#define BF_ENCRYPT   1

Definition at line 80 of file blowfish.h.

Referenced by __attribute__(), BF_cfb64_encrypt(), and BF_set_key().

◆ BF_LONG

#define BF_LONG   unsigned long

Definition at line 86 of file blowfish.h.

Referenced by __attribute__(), BF_cfb64_encrypt(), BF_encrypt(), BF_set_key(), and local_memcpy().

◆ BF_ROUNDS

#define BF_ROUNDS   16

Definition at line 88 of file blowfish.h.

Referenced by BF_encrypt(), and BF_set_key().

Function Documentation

◆ BF_cfb64_encrypt()

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.

◆ BF_encrypt()

void BF_encrypt ( BF_LONG data,
int  encrypt 
)

Definition at line 82 of file bf_enc.c.

◆ BF_set_key()

void BF_set_key ( int  len,
unsigned char *  data 
)

Definition at line 95 of file bf_skey.c.

Variable Documentation

◆ key_P

BF_LONG key_P[BF_ROUNDS+2]

Definition at line 89 of file blowfish.h.

Referenced by BF_encrypt(), and BF_set_key().

◆ key_S

BF_LONG key_S[4 *256]

Definition at line 90 of file blowfish.h.

Referenced by BF_encrypt(), and BF_set_key().


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13