boringssl/crypto/newhope
Adam Langley 3cab5572b1 Don't align NEWPOLY_POLY.
The alignas in NEWPOLY_POLY told the compiler that it could assume a
certain alignment. However, values were allocated with malloc with no
specific alignment.

We could try and allocate aligned memory but the alignment doesn't have
a performance impact (on x86-64) so this is the simpler change. (Also,
Windows doesn't have |posix_memalign|. The cloest thing is
_alligned_alloc but then one has to use a special free function.)

Change-Id: I53955a88862160c02aa5436d991b1b797c3c17db
Reviewed-on: https://boringssl-review.googlesource.com/8315
Reviewed-by: David Benjamin <davidben@google.com>
2016-06-16 17:48:08 +00:00
..
CMakeLists.txt newhope_test: corrupt things harder. 2016-06-16 16:41:19 +00:00
error_correction.c newhope: refactor and add test vectors. 2016-05-31 21:57:45 +00:00
internal.h Don't align NEWPOLY_POLY. 2016-06-16 17:48:08 +00:00
newhope_statistical_test.cc Sort out signedness issues. 2016-06-03 22:13:30 +00:00
newhope_test.cc newhope_test: corrupt things harder. 2016-06-16 16:41:19 +00:00
newhope_tests.txt Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
newhope_vectors_test.cc newhope: improve test vectors. 2016-06-02 19:28:00 +00:00
newhope.c newhope: restore statistical tests. 2016-06-03 21:26:18 +00:00
ntt.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00
poly.c newhope: restore statistical tests. 2016-06-03 21:26:18 +00:00
precomp.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00
reduce.c Import `newhope' (post-quantum key exchange). 2016-04-26 22:53:59 +00:00