CAST_cfb64_encrypt

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

Synopsis

Declared in <openssl/cast.h>

[[deprecated]]
void
CAST_cfb64_encrypt(
    unsigned char const* in,
    unsigned char* out,
    long length,
    CAST_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.
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).
encCAST_ENCRYPT to encrypt, or CAST_DECRYPT to decrypt.