diff options
author | Daniel Neus <[email protected]> | 2016-01-08 14:23:58 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2016-03-02 21:23:17 +0100 |
commit | 6a32844a7478617e1b6c686bb643c1eef317cba4 (patch) | |
tree | 322505a2b8251dfc93db55280648a6bd64a823e9 | |
parent | 9f8ea50be8160c96ece1e11eb55125b9eb42d721 (diff) |
fix dead assignment / redundant computation in block/aes_ssse3/aes_ssse3.cpp in aes_schedule_transform found by clang-analyzer
-rw-r--r-- | src/lib/block/aes_ssse3/aes_ssse3.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/block/aes_ssse3/aes_ssse3.cpp b/src/lib/block/aes_ssse3/aes_ssse3.cpp index fa0cb787c..54e8fcbd8 100644 --- a/src/lib/block/aes_ssse3/aes_ssse3.cpp +++ b/src/lib/block/aes_ssse3/aes_ssse3.cpp @@ -59,8 +59,6 @@ __m128i aes_schedule_transform(__m128i input, __m128i i_1 = _mm_and_si128(low_nibs, input); __m128i i_2 = _mm_srli_epi32(_mm_andnot_si128(low_nibs, input), 4); - input = _mm_and_si128(low_nibs, input); - return _mm_xor_si128( _mm_shuffle_epi8(table_1, i_1), _mm_shuffle_epi8(table_2, i_2)); |