#include <openssl/e_os2.h>
Go to the source code of this file.
Data Structures | |
struct | bf_key_st |
Defines | |
#define | BF_ENCRYPT 1 |
#define | BF_DECRYPT 0 |
#define | BF_LONG unsigned int |
#define | BF_ROUNDS 16 |
#define | BF_BLOCK 8 |
Typedefs | |
typedef struct bf_key_st | BF_KEY |
Functions | |
void | BF_set_key (BF_KEY *key, int len, const unsigned char *data) |
void | BF_encrypt (BF_LONG *data, const BF_KEY *key) |
void | BF_decrypt (BF_LONG *data, const BF_KEY *key) |
void | BF_ecb_encrypt (const unsigned char *in, unsigned char *out, const BF_KEY *key, int enc) |
void | BF_cbc_encrypt (const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int enc) |
void | BF_cfb64_encrypt (const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num, int enc) |
void | BF_ofb64_encrypt (const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num) |
const char * | BF_options (void) |
#define BF_BLOCK 8 |
Definition at line 99 of file blowfish.h.
#define BF_DECRYPT 0 |
Definition at line 73 of file blowfish.h.
#define BF_ENCRYPT 1 |
Definition at line 72 of file blowfish.h.
#define BF_LONG unsigned int |
Definition at line 95 of file blowfish.h.
#define BF_ROUNDS 16 |
Definition at line 98 of file blowfish.h.
void BF_cbc_encrypt | ( | const unsigned char * | in, | |
unsigned char * | out, | |||
long | length, | |||
const BF_KEY * | schedule, | |||
unsigned char * | ivec, | |||
int | enc | |||
) |
void BF_cfb64_encrypt | ( | const unsigned char * | in, | |
unsigned char * | out, | |||
long | length, | |||
const BF_KEY * | schedule, | |||
unsigned char * | ivec, | |||
int * | num, | |||
int | enc | |||
) |
void BF_decrypt | ( | BF_LONG * | data, | |
const BF_KEY * | key | |||
) |
void BF_ecb_encrypt | ( | const unsigned char * | in, | |
unsigned char * | out, | |||
const BF_KEY * | key, | |||
int | enc | |||
) |
void BF_encrypt | ( | BF_LONG * | data, | |
const BF_KEY * | key | |||
) |
void BF_ofb64_encrypt | ( | const unsigned char * | in, | |
unsigned char * | out, | |||
long | length, | |||
const BF_KEY * | schedule, | |||
unsigned char * | ivec, | |||
int * | num | |||
) |
const char* BF_options | ( | void | ) |
void BF_set_key | ( | BF_KEY * | key, | |
int | len, | |||
const unsigned char * | data | |||
) |