Commit f8aa12d5 authored by Niels Möller's avatar Niels Möller

EAX bug fix, for 32-bit platforms.

parent 2f742c69
2014-04-11 Niels Möller <nisse@lysator.liu.se>
* eax.c (block16_xor): Fixed bug effecting 32-bit platforms.
* Makefile.in (DISTFILES): Deleted memxor.c, already included via
nettle_SOURCES.
* tools/Makefile.in (SOURCES): Add nettle-pbkdf2.c.
......
......@@ -49,8 +49,8 @@ block16_xor (union nettle_block16 *dst, const union nettle_block16 *src)
dst->w[0] ^= src->w[0];
dst->w[1] ^= src->w[1];
#if SIZEOF_LONG == 4
dst->w[2] = src->w[2];
dst->w[3] = src->w[3];
dst->w[2] ^= src->w[2];
dst->w[3] ^= src->w[3];
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment