diff --git a/wolfcrypt/src/sakke.c b/wolfcrypt/src/sakke.c index 17d61d93a..3803a4dd5 100644 --- a/wolfcrypt/src/sakke.c +++ b/wolfcrypt/src/sakke.c @@ -6136,9 +6136,7 @@ static void sakke_xor_in_v(const byte* v, word32 hashSz, byte* out, int idx, i = 0; } o = i; - for (; i < hashSz; i++) { - out[idx + i - o] ^= v[i]; - } + xorbuf(out + idx + i - o, v + i, hashSz - i); } /*