Home GnuPG

Make STRIBOG use the new _gcry_md_block_write helper
902ea6052c11Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Make STRIBOG use the new _gcry_md_block_write helper

* cipher/stribog.c (STRIBOG_STRUCT): Add 'bctx' and remove 'buf' and
'count'.
(stribog_init_512): Initialize 'bctx'.
(transform64): New function.
(stribog_write): Remove.
(stribog_final): Use _gcry_md_block_write and bctx.
(_gcry_digest_spec_stribog_256, _gcry_digest_spec_stribog_512): Use
_gcry_md_block_write.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Sep 21 2013, 12:54 PM
Parents
rCcce7449efe47: Make SHA-512 use the new _gcry_md_block_write helper
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rC902ea6052c11: Make STRIBOG use the new _gcry_md_block_write helper (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Sep 21 2013, 12:54 PM