IDEA_cbc_encrypt

Encrypt or decrypt data with IDEA in CBC mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/idea.h>

[[deprecated]]
void
IDEA_cbc_encrypt(
    unsigned char const* in,
    unsigned char* out,
    long length,
    IDEA_KEY_SCHEDULE* ks,
    unsigned char* iv,
    int enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length length.
outOutput buffer of length length (may equal in).
lengthNumber of bytes to process.
ksExpanded IDEA key schedule matching enc.
iv8-byte IV updated in place.
encIDEA_ENCRYPT to encrypt, or IDEA_DECRYPT to decrypt.