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

Synopsis

Declared in <openssl/idea.h>

[[deprecated]]
void
IDEA_cfb64_encrypt(
    unsigned char const* in,
    unsigned char* out,
    long length,
    IDEA_KEY_SCHEDULE* ks,
    unsigned char* iv,
    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.

ks

Expanded IDEA encryption schedule.

iv

8‐byte IV updated in place.

num

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

enc

IDEA_ENCRYPT to encrypt, or IDEA_DECRYPT to decrypt.

Created with MrDocs