gost28147: do not use GOST28147_CONTEXT outside of GOST 28147 calculation

Authored by lumag on Nov 12 2019, 2:50 PM.

Description

gost28147: do not use GOST28147_CONTEXT outside of GOST 28147 calculation

* cipher/gost28147.c (_gcry_gost_enc_data): remove unused context
  argument
* cipher/gostr3411-94.c (GOSTR3411_CONTEXT, gostr3411_init,
  do_hash_step): remove unused GOST 28147-89 context.
  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Committed
jukiviliNov 21 2019, 4:59 PM
Parents
rCd164a8e7f682: gost28147: simplify internal code
Branches
Unknown
Tags
Unknown