diff options
author | Jack Lloyd <[email protected]> | 2017-01-28 21:59:16 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-01-28 21:59:16 -0500 |
commit | 3cf1917b4e0ab45f853f1fe7cb7faed342987dd9 (patch) | |
tree | c4b56474265ad5df2166541c8995c6363504494d /src/lib/block | |
parent | 9964d632f45090d722e4ff1b3b38e33a9611a512 (diff) |
Remove some commented out code from Noekeon
It was bogus and so potentially confusing
[ci skip]
Diffstat (limited to 'src/lib/block')
-rw-r--r-- | src/lib/block/noekeon/noekeon.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/block/noekeon/noekeon.cpp b/src/lib/block/noekeon/noekeon.cpp index 419f5d01a..e8bd7b308 100644 --- a/src/lib/block/noekeon/noekeon.cpp +++ b/src/lib/block/noekeon/noekeon.cpp @@ -152,19 +152,6 @@ void Noekeon::decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const #if defined(BOTAN_HAS_NOEKEON_SIMD) if(CPUID::has_simd_32()) { - /* - const size_t blocks4 = blocks / 4; - const size_t blocks_left = blocks % 4; - - in += blocks4 * BLOCK_SIZE; - out += blocks4 * BLOCK_SIZE; - blocks = blocks % 4; - - BOTAN_PARALLEL_FOR(size_t i = 0; i < blocks4; ++i) - { - simd_encrypt_4(in + i*4*BLOCK_SIZE, out + i*4*BLOCK_SIZE); - } - */ while(blocks >= 4) { simd_decrypt_4(in, out); |