iotaledger / iotaledger/crypto.rs

Ed25519: Improve tests

Open
#19 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
63
Forks
24
PR merge metrics
No merged PRs in 30d

Description

- Use officially provided test vectors in https://ed25519.cr.yp.to/python/sign.input
- Add tests for all of the 14x14 = 196 critical inputs mentioned in https://hdevalence.ca/blog/2020-10-04-its-25519am
- Add tests that third party malleability is correctly rejected, i.e. reject values for S that are greater or equal than L (https://tools.ietf.org/html/rfc8032#section-5.1.7).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.