Home GnuPG

cipher/gost28147: generate optimized s-boxes from compact ones
164738a0292bUnpublished

Unpublished Commit · Learn More

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

Description

cipher/gost28147: generate optimized s-boxes from compact ones

* cipher/gost-s-box.c: New. Outputs optimized expanded representation of
  s-boxes (4x256) from compact 16x8 representation.
* cipher/Makefile.am: Add gost-sb.h dependency to gost28147.lo
* cipher/gost.h: Add sbox to the GOST28147_context structure.
* cipher/gost28147.c (gost_setkey): Set default s-box to test s-box from
  GOST R 34.11 (this was the only one S-box before).
* cipher/gost28147.c (gost_val): Use sbox from the context.
  • 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:38 AM
Parents
rC34a580100002: gost28147: add OIDs used to define cipher mode
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC164738a0292b: cipher/gost28147: generate optimized s-boxes from compact ones (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Jun 28 2014, 10:38 AM