]> git.codecow.com Git - Monocypher.git/commit
Tests: fixed tweak coverage for Elligator.
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 7 Nov 2020 23:22:09 +0000 (00:22 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 7 Nov 2020 23:22:09 +0000 (00:22 +0100)
commita447d2a4e8e1b773b9a89d608e16a83cc772891a
treedbd10974533e803326ac41c0d7c7ef0108e8fc35
parentb6225728afbded223092eb72b15767163c9bdc9d
Tests: fixed tweak coverage for Elligator.

Shifting the index by 6 caused a reuse of one bit, leading to 4
different configurations instead of 8.
Shifting by 5 means we are using the 3 least significant bits of the
index, as was always intended.
tests/test.c