Encrypt or decrypt data with IDEA in CBC mode (deprecated; prefer EVP).
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);
Deprecated. Use of this entity is allowed but discouraged.
| 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 key schedule matching enc. |
| iv | 8-byte IV updated in place. |
| enc | IDEA_ENCRYPT to encrypt, or IDEA_DECRYPT to decrypt. |