Home GnuPG

gost28147: use bufhelp helpers
7aeba6c44916Unpublished

Unpublished Commit · Learn More

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

Description

gost28147: use bufhelp helpers

* cipher/gost28147.c (gost_setkey, gost_encrypt_block, gost_decrypt_block):
  use buf_get_le32/buf_put_le32 helpers.

On my box this boosts GOST 28147-89 speed from 36 MiB/s up to 44.5 MiB/s.

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

Details

Provenance
lumagAuthored on Jun 6 2014, 8:48 PM
wernerCommitted on Jun 28 2014, 10:45 AM
Parents
rCb78d504fa874: Fixup curve name in the GOST2012 test case
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC7aeba6c44916: gost28147: use bufhelp helpers (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Jun 28 2014, 10:45 AM