GCM: Add stack burning
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 19 Nov 2013 21:26:26 +0000 (23:26 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 20 Nov 2013 16:35:38 +0000 (18:35 +0200)
commit018f08354b1b116672e82f9ce942884b288aaf9e
treeb4550be81a53ad3e618d57e41addabf1b687a5cc
parentc9537fbf8ff0af919cff2bebadc4c6e7caea8076
GCM: Add stack burning

* cipher/cipher-gcm.c (do_ghash, ghash): Return stack burn depth.
(setupM): Wipe 'tmp' buffer.
(do_ghash_buf): Wipe 'tmp' buffer and add stack burning.
--

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