aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/mem_ops.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-16 16:39:45 -0400
committerJack Lloyd <[email protected]>2017-09-16 16:39:45 -0400
commitd00fa294b207365fed288afd2d3e07ed9e8cb641 (patch)
tree1835d49f06ea473f0dddf7438eb1b5ec7d0bf43b /src/lib/utils/mem_ops.cpp
parent46a94f99ca489926fcbacd2ee3e9ae22d0b2782b (diff)
Fix an off by 8
Diffstat (limited to 'src/lib/utils/mem_ops.cpp')
-rw-r--r--src/lib/utils/mem_ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/mem_ops.cpp b/src/lib/utils/mem_ops.cpp
index a66d0928a..45de24cb8 100644
--- a/src/lib/utils/mem_ops.cpp
+++ b/src/lib/utils/mem_ops.cpp
@@ -56,7 +56,7 @@ void xor_buf(uint8_t out[],
const uint8_t in2[],
size_t length)
{
- while(length >= 8)
+ while(length >= 16)
{
out[0] = in[0] ^ in2[0];
out[1] = in[1] ^ in2[1];