]> git.codecow.com Git - Monocypher.git/commit
Corrected possible misalignment in the tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 22 Mar 2018 20:47:13 +0000 (21:47 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 22 Mar 2018 20:47:13 +0000 (21:47 +0100)
commit31ff91caabf56c6fa4ca9013c3d51cb7bf698046
tree025a953389d5a0ace1a11d077fbef95e11b5a95b
parentc13ffaa9d531f1f0616aedf43c3721f7b30b6385
Corrected possible misalignment in the tests

Argon2i must have its work area aligned for uint64_t.  I don't recall
any guarantee of alignment when allocating an array of uint8_t on the
stack.  So we allocate on the heap instead.
tests/test.c