Encrypt or decrypt with triple‐DES EDE in CBC mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_ede3_cbc_encrypt(
    unsigned char const* input,
    unsigned char* output,
    long length,
    DES_key_schedule* ks1,
    DES_key_schedule* ks2,
    DES_key_schedule* ks3,
    DES_cblock* ivec,
    int enc);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

input

Input bytes of length length.

output

Output buffer of length length.

length

Number of bytes to process.

ks1

First DES key schedule (encrypt or decrypt stage).

ks2

Second DES key schedule (middle stage).

ks3

Third DES key schedule (final stage).

ivec

8‐byte IV updated in place.

enc

DES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt.

Created with MrDocs