Greetings!

We have found a bug in GOST89-MAC implementation. In case when we
calculate the mac for less then 8 bytes, we should provide zero-bytes
padding to 16 bytes. In case of zero-length data, the MAC should be
zero-bytes.
The patches are attached, both for the engine and for the
corresponding gostsums utility.

Thank you!

-- 
SY, Dmitry Belyavsky

Attachment: mac.diff
Description: Binary data

Attachment: nullhash.diff
Description: Binary data

Reply via email to