diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-10-25 10:31:16 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 17:35:03 +1100 |
commit | 7a4295f6c9d54e082474667e552a227606b4a085 (patch) | |
tree | da2fb5872e4168587e56f48db779edb216286d5c /Documentation/xtensa | |
parent | 458c0480dcb338d7b72e89b2e88a622965adcea4 (diff) | |
download | linux-7a4295f6c9d54e082474667e552a227606b4a085.tar.gz linux-7a4295f6c9d54e082474667e552a227606b4a085.tar.bz2 linux-7a4295f6c9d54e082474667e552a227606b4a085.zip |
crypto: lib/sha256 - Don't clear temporary variables
The assignments to clear a through h and t1/t2 are optimized out by the
compiler because they are unused after the assignments.
Clearing individual scalar variables is unlikely to be useful, as they
may have been assigned to registers, and even if stack spilling was
required, there may be compiler-generated temporaries that are
impossible to clear in any case.
So drop the clearing of a through h and t1/t2.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/xtensa')
0 files changed, 0 insertions, 0 deletions