[#RC2_cbc_encrypt] = RC2_cbc_encrypt :mrdocs: Encrypt or decrypt with RC2 in CBC mode (deprecated). == Synopsis Declared in `<openssl/rc2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void RC2_cbc_encrypt( unsigned char const* in, unsigned char* out, long length, xref:RC2_KEY.adoc[RC2_KEY]* ks, unsigned char* iv, int enc); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *in* | Input bytes of length `length.` | *out* | Output buffer of at least `length` bytes. | *length* | Number of bytes to process (should be a multiple of RC2_BLOCK). | *ks* | Expanded key from RC2_set_key(). | *iv* | 8‐byte IV; updated to the last ciphertext block. | *enc* | RC2_ENCRYPT or RC2_DECRYPT. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#