summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-16 21:58:23 -0500
committerIan Moffett <ian@osmora.org>2024-02-16 21:58:23 -0500
commit13ad1d8cff421b0bb9f8c8ea8ddb41e773b8948f (patch)
treefe225d00bcc7514e1f00d0fd2f8ada98b6aa2a21
parentd06ad45c55b9c087353d772b8a18601b80365b3f (diff)
Remove redundant shift
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f9ba3d4..ae1f258 100644
--- a/src/main.c
+++ b/src/main.c
@@ -144,7 +144,7 @@ encrypt(const struct cpu_info *info, char *buf, size_t buf_size)
#if defined(__x86_64__)
if (info->has_sse2 || info->has_sse3) {
- step <<= 1; /* Start at 16 bytes (128 bits) */
+ step = 16; /* Start at 16 bytes (128 bits) */
}
#endif /* defined(__x86_64__) */