[#BF_cbc_encrypt] = BF_cbc_encrypt :mrdocs: Encrypt or decrypt data with Blowfish in CBC mode (deprecated). == Synopsis Declared in `<openssl/blowfish.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void BF_cbc_encrypt( unsigned char const* in, unsigned char* out, long length, xref:BF_KEY.adoc[BF_KEY] const* schedule, unsigned char* ivec, int enc); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *in* | Input bytes of length `length` (need not be block‐aligned; CFB‐style trailing handled). | *out* | Output buffer of at least `length` bytes (may equal `in).` | *length* | Number of bytes to process. | *schedule* | Expanded Blowfish key from BF_set_key(). | *ivec* | 8‐byte IV; updated to the last ciphertext block on return. | *enc* | BF_ENCRYPT to encrypt, or BF_DECRYPT to decrypt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#