diff options
| author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-10-25 10:31:15 -0400 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 17:35:03 +1100 |
| commit | 458c0480dcb338d7b72e89b2e88a622965adcea4 (patch) | |
| tree | b51f08386220bcd60c1a909f73f36233057acfe2 /tools/perf/scripts/python | |
| parent | crypto: lib/sha256 - Use memzero_explicit() for clearing state (diff) | |
| download | linux-458c0480dcb338d7b72e89b2e88a622965adcea4.tar.gz linux-458c0480dcb338d7b72e89b2e88a622965adcea4.zip | |
crypto: hash - 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.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
