On Mon, Mar 30, 2015 at 9:56 PM, Niels Möller nisse@lysator.liu.se wrote:
nisse@lysator.liu.se (Niels Möller) writes:
All testing and proof-reading highly appreciated.
I've now done some more testing on x86_64 freebsd and arm gnu/linux (in addition to my main development platform, gnu/linux x86_64, and fixed a couple of mostly configure-related bugs. Then I tried windows cross compilation using mingw. w64 seems to fail several tests (at least according to wine). Likely ABI issues in some of the assembly files. Good news is that it seems 64-bit wine works out of the box with debian jessie.
Something that I just noticed is that chacha_poly1305_encrypt() returns a void value. However this function is limited to 2^32 data which is not really an expected upper bound. Shouldn't the encrypt function return an int instead and notify callers of overflow?
regards, Nikos