diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-10-01 20:44:05 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-10-02 14:37:59 -0700 |
| commit | da4d5933e30340766925480f9dd9f250c4355e24 (patch) | |
| tree | 1c8ba49a4fbdff0909b84530fc84a7ad1cc7d88e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9ca77aa621027149c43551308112eba06b1de3af (diff) | |
| download | linux-da4d5933e30340766925480f9dd9f250c4355e24.tar.gz linux-da4d5933e30340766925480f9dd9f250c4355e24.zip | |
lib/crypto: x86/aes-ctr: Remove some unreachable code
In the AES-CTR and AES-XCTR code that handles a remainder of '4*VL < LEN
< 8*VL', first 4 full vectors are processed, leaving 0 < LEN < 4*VL.
After that, five different cases are handled depending on whether there
are 0, 1, 2, 3, or 4 full vectors remaining. But the case of 4 vectors
is never reached there, making the code handling it unused. Remove it.
With that done, the '.Lxor_tail_partial_vec_3\@' block would be reached
only via an unconditional jump. Therefore, relocate it to the only
place that jumps to it. This allows removing the jump at the end of the
'.Lxor_tail_partial_vec_2\@' block and making it fall through.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://patch.msgid.link/20261002034405.49886-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
