Encrypt or decrypt with DES in CBC mode without updating the IV (deprecated; prefer DES_ncbc_encrypt or EVP).
Declared in <openssl/des.h>
[[deprecated]]
void
DES_cbc_encrypt(
unsigned char const* input,
unsigned char* output,
long length,
DES_key_schedule* schedule,
DES_cblock* ivec,
int enc);
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| input | Input bytes of length length. |
| output | Output buffer of length length. |
| length | Number of bytes to process. |
| schedule | Expanded DES key schedule. |
| ivec | 8-byte IV used for chaining; not updated by this call. |
| enc | DES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt. |