Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
BF_set_key, BF_encrypt, BF_decrypt, BF_ecb_encrypt, BF_cbc_encrypt, BF_cfb64_encrypt, BF_ofb64_encrypt — Blowfish encryptionSYNOPSIS
#include <openssl/blowfish.h>BF_set_key(BF_KEY *key, int len, const unsigned char *data);
BF_encrypt(BF_LONG *data, const BF_KEY *key);
BF_decrypt(BF_LONG *data, const BF_KEY *key);
BF_ecb_encrypt(const unsigned char *in, unsigned char *out, BF_KEY *key, int enc);
BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, BF_KEY *schedule, unsigned char *ivec, int enc);
BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, BF_KEY *schedule, unsigned char *ivec, int *num, int enc);
BF_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, BF_KEY *schedule, unsigned char *ivec, int *num);