Skip to content
Snippets Groups Projects
Commit b3e144a7 authored by David Goldwich's avatar David Goldwich Committed by Anton Khirnov
Browse files

des: add possibility to calculate DES-CBC-MAC with small buffer


This patch adds the possibility to calculate the DES-CBC-MAC of a
source buffer (i.e. the last block of the buffer encrypted in CBC
mode) without having to allocate a destination buffer that is as
long as the complete source buffer, but instead only 8 bytes
for the MAC.

Signed-off-by: default avatarDavid Goldwich <david.goldwich@gmail.com>
Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 3ffe32eb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment