Compute a DES‐based quadratic checksum over input (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
DES_LONG
DES_quad_cksum(
    unsigned char const* input,
    DES_cblock output[],
    long length,
    int out_count,
    DES_cblock* seed);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Last DES_LONG of the final checksum block.

Parameters

Name

Description

input

Input bytes of length length.

output

Array of DES_cblock results; may be NULL if only the return value is needed.

length

Number of input bytes to checksum.

out_count

Number of 8‐byte checksum blocks to write to output (1..4).

seed

Seed block updated in place during the checksum.

Created with MrDocs