[PATCH] Fix alignment in serpent.c
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Tue Dec 13 15:49:07 CET 2011
When compiling with -Wcast-align I've got some warnings in serpent.c
upon closer examination it revealed that this is a real problem. Serpent
assumes key, input and output to be aligned but even in selftests it's
not guaranteed to be. Attached patch fixes the issue without performance
impact
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serpent.diff
Type: text/x-diff
Size: 5159 bytes
Desc: not available
URL: </pipermail/attachments/20111213/146afa78/attachment.diff>
More information about the Gnupg-devel
mailing list