Encrypt or decrypt with DES in RSA DESX‐CBC (XCBC) mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_xcbc_encrypt(
    unsigned char const* input,
    unsigned char* output,
    long length,
    DES_key_schedule* schedule,
    DES_cblock* ivec,
    const_DES_cblock* inw,
    const_DES_cblock* outw,
    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.

schedule

Expanded DES key schedule.

ivec

8‐byte IV updated in place.

inw

Whitening value XORed with plaintext before DES (inw).

outw

Whitening value XORed with DES output (outw).

enc

DES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt.

Created with MrDocs