Encrypt or decrypt with DES in CBC mode, updating the IV (deprecated; prefer EVP).
Synopsis
Declared in <openssl/des.h>
[[deprecated]]
void
DES_ncbc_encrypt(
unsigned char const* input,
unsigned char* output,
long length,
DES_key_schedule* schedule,
DES_cblock* ivec,
int enc);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Parameters
Name |
Description |
input |
Input bytes of length |
output |
Output buffer of 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. |
Created with MrDocs