Home GnuPG

Fix carry overflow in Stribog in 512-bit addition

Description

Fix carry overflow in Stribog in 512-bit addition

* cipher/stribog.c (transform_bits): properly calculate carry flag
* tests/basic.c (check_digests): add two more test cases

Cherry pick the master commit of:
da6cd4fea30f79cf9d8f9b2f1c6daf3aea39fa9c

  • Reported-by: Guido Vranken
  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on May 4 2019, 11:37 PM
gniibeCommitted on Thu, Feb 5, 1:31 AM
Parents
rC1aa1469aa5cf: Post release updates
Branches
Unknown
Tags
Unknown