aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-10-25 10:31:14 -0400
committerHerbert Xu <[email protected]>2020-10-30 17:35:03 +1100
commit1762818f25f3f99c5083caa13d69e5e5aa2e4b6f (patch)
tree09fd538f8085ed4d5f944eaa50eaabb6177fa9e9 /tools/perf/scripts/python/flamegraph.py
parent383e8a823014532ffd81c787ef9009f1c2bd3b79 (diff)
crypto: lib/sha256 - Use memzero_explicit() for clearing state
Without the barrier_data() inside memzero_explicit(), the compiler may optimize away the state-clearing if it can tell that the state is not used afterwards. At least in lib/crypto/sha256.c:__sha256_final(), the function can get inlined into sha256(), in which case the memset is optimized away. Signed-off-by: Arvind Sankar <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions