RC2_ofb64_encrypt

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

Synopsis

Declared in <openssl/rc2.h>

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

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 OFB keystream (0..7), updated in place.