You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cases where the inputs are not reduced mod q, but which are otherwise correct. These are invalid for NIST ECDH but valid for X25519. (The NIST ECDH code might be accepting these currently, but it should be changed to reject them.)
For X25519, expand the test coverage to cover the same cases as the NIST ECDH.
The test vectors are in src/ec/ecdh_tests.txt and the code (including the test code) is in src/ec/ecdh.rs.
The text was updated successfully, but these errors were encountered:
For both, add test cases for:
q
, but which are otherwise correct. These are invalid for NIST ECDH but valid for X25519. (The NIST ECDH code might be accepting these currently, but it should be changed to reject them.)For X25519, expand the test coverage to cover the same cases as the NIST ECDH.
The test vectors are in src/ec/ecdh_tests.txt and the code (including the test code) is in src/ec/ecdh.rs.
The text was updated successfully, but these errors were encountered: