DES_pcbc_encrypt

Encrypt or decrypt with DES in PCBC mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_pcbc_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

NameDescription
inputInput bytes of length length.
outputOutput buffer of length length.
lengthNumber of bytes to process.
scheduleExpanded DES key schedule.
ivec8-byte IV updated in place.
encDES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt.