CAST_ofb64_encrypt

Encrypt or decrypt data with CAST in 64-bit OFB mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/cast.h>

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

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length length.
outOutput buffer of length length (may equal in).
lengthNumber of bytes to process.
scheduleExpanded CAST key from CAST_set_key().
ivec8-byte IV updated in place.
numFeedback offset into the IV (updated; typically starts at 0).