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
  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on May 4 2019, 11:37 PM
jukiviliCommitted on May 6 2019, 7:44 PM
Parents
rC71b0eb3fb75d: Add support for explicit_memset
Branches
Unknown
Tags
Unknown