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

Name

Description

in

Input bytes of length length.

out

Output buffer of length length (may equal in).

length

Number of bytes to process.

schedule

Expanded CAST key from CAST_set_key().

ivec

8‐byte IV updated in place.

num

Feedback offset into the IV (updated; typically starts at 0).

enc

CAST_ENCRYPT to encrypt, or CAST_DECRYPT to decrypt.

Created with MrDocs