gostr3411_94: set better burn stack depth estimate
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 21 Sep 2013 10:54:38 +0000 (13:54 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 21 Sep 2013 11:05:50 +0000 (14:05 +0300)
commit7409de7bc28ff8847c9d71d8c3e35e1968d59d60
treedec988c7300af9380e3f442848aacbf02418f131
parent592c2ab3deeeccbb6d3b078ed7bf0e6627c8e1fb
gostr3411_94: set better burn stack depth estimate

* cipher/gost28147.c (_gcry_gost_enc_one): Account function stack to
burn stack depth.
* cipher/gostr3411-94.c (max): New macro.
(do_hash_step, transform): Return stack burn depth.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/gost28147.c
cipher/gostr3411-94.c