Fix bizarre `if (!consttime_memeq(X, Y, N)!=0)' idioms.
[secnet] / sha512.c
2013-07-25 Ian Jacksoncrypto: Copy a SHA512 implementation into tree