aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block')
-rw-r--r--src/lib/block/camellia/camellia.cpp4
-rw-r--r--src/lib/block/idea/idea.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/block/camellia/camellia.cpp b/src/lib/block/camellia/camellia.cpp
index c9d82944f..f120c73ba 100644
--- a/src/lib/block/camellia/camellia.cpp
+++ b/src/lib/block/camellia/camellia.cpp
@@ -648,7 +648,7 @@ inline uint64_t FLINV(uint64_t v, uint64_t K)
void encrypt(const uint8_t in[], uint8_t out[], size_t blocks,
const secure_vector<uint64_t>& SK, const size_t rounds)
{
- BOTAN_PARALLEL_FOR(size_t i = 0; i < blocks; ++i)
+ for(size_t i = 0; i < blocks; ++i)
{
uint64_t D1, D2;
load_be(in + 16*i, D1, D2);
@@ -689,7 +689,7 @@ void encrypt(const uint8_t in[], uint8_t out[], size_t blocks,
void decrypt(const uint8_t in[], uint8_t out[], size_t blocks,
const secure_vector<uint64_t>& SK, const size_t rounds)
{
- BOTAN_PARALLEL_FOR(size_t i = 0; i < blocks; ++i)
+ for(size_t i = 0; i < blocks; ++i)
{
uint64_t D1, D2;
load_be(in + 16*i, D1, D2);
diff --git a/src/lib/block/idea/idea.cpp b/src/lib/block/idea/idea.cpp
index ac11c9a64..f5e15e325 100644
--- a/src/lib/block/idea/idea.cpp
+++ b/src/lib/block/idea/idea.cpp
@@ -67,7 +67,7 @@ void idea_op(const uint8_t in[], uint8_t out[], size_t blocks, const uint16_t K[
CT::poison(out, blocks * 8);
CT::poison(K, 52);
- BOTAN_PARALLEL_FOR(size_t i = 0; i < blocks; ++i)
+ for(size_t i = 0; i < blocks; ++i)
{
uint16_t X1, X2, X3, X4;
load_be(in + BLOCK_SIZE*i, X1, X2, X3, X4);