3cab5572b1
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
error_correction.c | ||
internal.h | ||
newhope_statistical_test.cc | ||
newhope_test.cc | ||
newhope_tests.txt | ||
newhope_vectors_test.cc | ||
newhope.c | ||
ntt.c | ||
poly.c | ||
precomp.c | ||
reduce.c |