diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2014-06-06 22:48:29 +0400 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-06-28 10:38:23 +0200 |
commit | 164738a0292b3f32c7747099ad9cadace58e5eda (patch) | |
tree | dd871ff78b408633364d05a5df28f7bffc7bd795 /.gitignore | |
parent | 34a58010000288515636706811c3837f32957b2e (diff) | |
download | libgcrypt-164738a0292b3f32c7747099ad9cadace58e5eda.tar.gz |
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>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ po/messages.mo /stamp-h1 /Makefile.in cipher/Makefile.in +cipher/gost-s-box +cipher/gost-sb.h compat/Makefile.in doc/Makefile.in m4/Makefile.in |