RC2_cfb64_encrypt

Encrypt or decrypt with RC2 in 64-bit CFB mode (deprecated).

Synopsis

Declared in <openssl/rc2.h>

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

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes.
outOutput buffer of at least length bytes.
lengthNumber of bytes to process.
scheduleExpanded key from RC2_set_key().
ivec8-byte IV, updated in place.
numOffset into the CFB stream (0..7), updated in place.
encRC2_ENCRYPT or RC2_DECRYPT.