[#DES_cbc_cksum]
= DES&lowbar;cbc&lowbar;cksum
:mrdocs:

Compute a DES CBC checksum of `input` and return the last DES&lowbar;LONG of the MAC (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;des&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:DES_LONG.adoc[DES&lowbar;LONG]
DES&lowbar;cbc&lowbar;cksum(
    unsigned char const* input,
    xref:DES_cblock.adoc[DES&lowbar;cblock]* output,
    long length,
    xref:DES_key_schedule.adoc[DES&lowbar;key&lowbar;schedule]* schedule,
    xref:const_DES_cblock.adoc[const&lowbar;DES&lowbar;cblock]* ivec);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Last DES&lowbar;LONG of the checksum value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| Input bytes of length `length&period;`
| *output*
| Optional destination for the full 8&hyphen;byte checksum, or NULL&period;
| *length*
| Number of input bytes to checksum&period;
| *schedule*
| Expanded DES key schedule&period;
| *ivec*
| Initial 8&hyphen;byte IV for the CBC MAC (not updated)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
