DES_quad_cksum

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

NameDescription
inputInput bytes of length length.
outputArray of DES_cblock results; may be NULL if only the return value is needed.
lengthNumber of input bytes to checksum.
out_countNumber of 8-byte checksum blocks to write to output (1..4).
seedSeed block updated in place during the checksum.