cipher: Fix IDEA cipher for clearing memory.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 1 Nov 2016 05:34:16 +0000 (14:34 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 1 Nov 2016 05:34:16 +0000 (14:34 +0900)
commitbf6d5b10cb4173826f47ac080506b68bb001acb2
tree599a86e2a0e88d6be0c258cacfffd08ab659c7f3
parentbfd732f53a9b5dfe14217a68a0fa289bf6913ec0
cipher: Fix IDEA cipher for clearing memory.

* cipher/idea.c (invert_key): Use wipememory, since this kind of memset
may be removed by compiler optimization.

--
Reported-by: Zhaomo Yang and Brian Johannesmeyer
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
cipher/idea.c