Compute a DES CBC checksum of input and return the last DES_LONG of the MAC (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
DES_LONG
DES_cbc_cksum(
    unsigned char const* input,
    DES_cblock* output,
    long length,
    DES_key_schedule* schedule,
    const_DES_cblock* ivec);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Last DES_LONG of the checksum value.

Parameters

Name

Description

input

Input bytes of length length.

output

Optional destination for the full 8‐byte checksum, or NULL.

length

Number of input bytes to checksum.

schedule

Expanded DES key schedule.

ivec

Initial 8‐byte IV for the CBC MAC (not updated).

Created with MrDocs