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

Name

Description

in

Input bytes.

out

Output buffer of at least length bytes.

length

Number of bytes to process.

schedule

Expanded key from RC2_set_key().

ivec

8‐byte IV, updated in place.

num

Offset into the CFB stream (0..7), updated in place.

enc

RC2_ENCRYPT or RC2_DECRYPT.

Created with MrDocs