Frank Denis 098bee0e56
edwards25519 fixes (#11568)
* edwards25519: fix X coordinate of the base point

Reported by @OfekShochat -- Thanks!

* edwards25519: reduce public scalar when the top bit is set, not cleared

This is an optimization for the unexpected case of a scalar
larger than the field size.

Fixes #11563

* edwards25519: add a test implicit reduction of invalid scalars
2022-05-03 05:28:34 +02:00
..
2022-05-03 05:28:34 +02:00
2022-01-28 16:23:47 -07:00
2022-01-28 16:23:47 -07:00
2021-05-08 15:15:30 +03:00