Avoid burn stack in Arcfour setkey
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 4 Nov 2013 19:54:33 +0000 (21:54 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 6 Nov 2013 17:23:03 +0000 (19:23 +0200)
commita50a6ba3540f49fc7dcdb32e691327d5942e3509
tree306bdc2051d6f9f9f02f46c7138c8ce7cd8111ef
parent5797ebc268b4e953cedd0c729c5cdb1f8fd764e4
Avoid burn stack in Arcfour setkey

* cipher/arcfour.c (arcfour_setkey): Remove stack burning.
--

Stack is already cleared in do_arcfour_setkey and GCC is inlining
do_arcfour_setkey to arcfour_setkey which renders this _gcry_burn_stack
broken anyways.

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