Classes | Macros | Typedefs | Functions
blowfish.h File Reference
#include <openssl/base.h>
Include dependency graph for blowfish.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bf_key_st
 

Macros

#define BF_BLOCK   8
 
#define BF_DECRYPT   0
 
#define BF_ENCRYPT   1
 
#define BF_ROUNDS   16
 

Typedefs

typedef struct bf_key_st BF_KEY
 

Functions

OPENSSL_EXPORT void BF_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t length, const BF_KEY *schedule, uint8_t *ivec, int enc)
 
OPENSSL_EXPORT void BF_decrypt (uint32_t *data, const BF_KEY *key)
 
OPENSSL_EXPORT void BF_ecb_encrypt (const uint8_t *in, uint8_t *out, const BF_KEY *key, int enc)
 
OPENSSL_EXPORT void BF_encrypt (uint32_t *data, const BF_KEY *key)
 
OPENSSL_EXPORT void BF_set_key (BF_KEY *key, size_t len, const uint8_t *data)
 

Macro Definition Documentation

◆ BF_BLOCK

#define BF_BLOCK   8

Definition at line 71 of file blowfish.h.

◆ BF_DECRYPT

#define BF_DECRYPT   0

Definition at line 68 of file blowfish.h.

◆ BF_ENCRYPT

#define BF_ENCRYPT   1

Definition at line 67 of file blowfish.h.

◆ BF_ROUNDS

#define BF_ROUNDS   16

Definition at line 70 of file blowfish.h.

Typedef Documentation

◆ BF_KEY

typedef struct bf_key_st BF_KEY

Function Documentation

◆ BF_cbc_encrypt()

OPENSSL_EXPORT void BF_cbc_encrypt ( const uint8_t in,
uint8_t out,
size_t  length,
const BF_KEY schedule,
uint8_t ivec,
int  enc 
)

Definition at line 155 of file blowfish.c.

◆ BF_decrypt()

OPENSSL_EXPORT void BF_decrypt ( uint32_t data,
const BF_KEY key 
)

Definition at line 108 of file blowfish.c.

◆ BF_ecb_encrypt()

OPENSSL_EXPORT void BF_ecb_encrypt ( const uint8_t in,
uint8_t out,
const BF_KEY key,
int  enc 
)

Definition at line 140 of file blowfish.c.

◆ BF_encrypt()

OPENSSL_EXPORT void BF_encrypt ( uint32_t data,
const BF_KEY key 
)

Definition at line 76 of file blowfish.c.

◆ BF_set_key()

OPENSSL_EXPORT void BF_set_key ( BF_KEY key,
size_t  len,
const uint8_t data 
)

Definition at line 445 of file blowfish.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04