DES_cbc_cksum

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

NameDescription
inputInput bytes of length length.
outputOptional destination for the full 8-byte checksum, or NULL.
lengthNumber of input bytes to checksum.
scheduleExpanded DES key schedule.
ivecInitial 8-byte IV for the CBC MAC (not updated).