[pycrypto] Crypto.Random crashes due to unaligned access

Greg Price gnprice at gmail.com
Mon Oct 28 12:00:14 PDT 2013


On Mon, Oct 28, 2013 at 10:13 AM, Sebastian Ramacher
<sebastian+lists at ramacher.at> wrote:
> I've implemented this approach now by allocating ek and dk with one of
> posix_memalign (POSIX), aligned_alloc (C11) or _aligned_malloc
> (Windows/Visual Studio). A pull request is available at
> https://github.com/dlitz/pycrypto/pull/62. I'd appreciate any testing
> and feedback.

Great!  Looks like a good solution.  I have minor comments I'll make
over on GitHub.  I'll test it, too.

Greg


More information about the pycrypto mailing list