forked from wolfSSL/wolfssl
sakke.c: use xorbuf
This commit is contained in:
@@ -6136,9 +6136,7 @@ static void sakke_xor_in_v(const byte* v, word32 hashSz, byte* out, int idx,
|
|||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
o = i;
|
o = i;
|
||||||
for (; i < hashSz; i++) {
|
xorbuf(out + idx + i - o, v + i, hashSz - i);
|
||||||
out[idx + i - o] ^= v[i];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user