[#DES_ncbc_encrypt] = DES_ncbc_encrypt :mrdocs: Encrypt or decrypt with DES in CBC mode, updating the IV (deprecated; prefer EVP). == Synopsis Declared in `<openssl/des.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void DES_ncbc_encrypt( unsigned char const* input, unsigned char* output, long length, xref:DES_key_schedule.adoc[DES_key_schedule]* schedule, xref:DES_cblock.adoc[DES_cblock]* ivec, 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 | *input* | Input bytes of length `length.` | *output* | Output buffer of length `length.` | *length* | Number of bytes to process. | *schedule* | Expanded DES key from DES_set_key() or related. | *ivec* | 8‐byte IV updated in place to the last ciphertext block. | *enc* | DES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#