Compute a DES CBC checksum of input and return the last DES_LONG of the MAC (deprecated).
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);
Deprecated. Use of this entity is allowed but discouraged.
Last DES_LONG of the checksum value.
| 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). |