libfortuna  1
FortunalibraryfunctionsextractedfromPostgreSQLsource
 All Data Structures Files Functions Variables Typedefs Macros
blf.h File Reference

Go to the source code of this file.

Data Structures

struct  BlowfishContext
 

Functions

void blowfish_setkey (BlowfishContext *ctx, const uint8 *key, short keybytes)
 
void blowfish_setiv (BlowfishContext *ctx, const uint8 *iv)
 
void blowfish_encrypt_cbc (uint8 *blk, int len, BlowfishContext *ctx)
 
void blowfish_decrypt_cbc (uint8 *blk, int len, BlowfishContext *ctx)
 
void blowfish_encrypt_ecb (uint8 *blk, int len, BlowfishContext *ctx)
 
void blowfish_decrypt_ecb (uint8 *blk, int len, BlowfishContext *ctx)
 

Function Documentation

void blowfish_decrypt_cbc ( uint8 blk,
int  len,
BlowfishContext ctx 
)
void blowfish_decrypt_ecb ( uint8 blk,
int  len,
BlowfishContext ctx 
)
void blowfish_encrypt_cbc ( uint8 blk,
int  len,
BlowfishContext ctx 
)
void blowfish_encrypt_ecb ( uint8 blk,
int  len,
BlowfishContext ctx 
)
void blowfish_setiv ( BlowfishContext ctx,
const uint8 iv 
)
void blowfish_setkey ( BlowfishContext ctx,
const uint8 key,
short  keybytes 
)