Tag: a6326ba025a4bc025c8c9a15ea2f307936a93843

crypto: sha – replace memset by memzero_explicit

Author: Julia Lawall <Julia.Lawall@lip6.fr> Memset on a local variable may be removed when it is called just before the variable goes out of scope. Using memzero_explicit defeats this optimization. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ identifier x; type T; @@ { … when any …

Continue reading