BF_cfb64_encrypt

Encrypt or decrypt with Blowfish in 64-bit CFB mode (deprecated; prefer EVP_EncryptInit_ex and related EVP APIs).

Synopsis

Declared in <openssl/blowfish.h>

[[deprecated]]
void
BF_cfb64_encrypt(
    unsigned char const* in,
    unsigned char* out,
    long length,
    BF_KEY const* schedule,
    unsigned char* ivec,
    int* num,
    int enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length length (need not be a multiple of 8).
outOutput buffer of at least length bytes (may equal in).
lengthNumber of bytes to process.
scheduleExpanded Blowfish key from BF_set_key().
ivec8-byte IV; updated with running feedback state on return.
numOffset into the CFB feedback block (0..7), updated in place; initialize to 0 with ivec.
encBF_ENCRYPT to encrypt, or BF_DECRYPT to decrypt.