2 Commits
Author SHA1 Message Date
oberienandFedor Indutny 26a0e25df9 key: error when only either x or y are provided
PR-URL: https://github.com/indutny/elliptic/pull/112
Reviewed-By: Fedor Indutny <[email protected]>
2017-02-06 18:12:11 -05:00
oberienandFedor Indutny 79e2f37697 curves: Set b to 1 for curve25519
The montgomery parameters for curve25519 define b to be 1. Even though
this library doesn't use it for calculations, for consistency reasons
setting it to the standartized value improves readability. Also using it
in calculations outside of the library it resulted in problems and
errors, which will be fixed with this change.
2016-12-27 17:26:19 -05:00