Encrypt or decrypt data with Blowfish in CBC mode (deprecated).
Declared in <openssl/blowfish.h>
[[deprecated]]
void
BF_cbc_encrypt(
unsigned char const* in,
unsigned char* out,
long length,
BF_KEY const* schedule,
unsigned char* ivec,
int enc);
Deprecated. Use of this entity is allowed but discouraged.
| 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. |