dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
331 stars 133 forks source link

Add RFC7748 6.1. Curve25519 Test vector #104

Open shampoofactory opened 1 year ago

shampoofactory commented 1 year ago

Hi all. Whilst RFC7748 5.2. Test vector tests are present, RFC7748 6.1. Curve25519 Test vector tests appear to be missing. I've added them in.

I was unsure as to which branch to open a pull request to, so I've just opened it against main.

Thank you.

Reference: https://www.rfc-editor.org/rfc/rfc7748#section-6.1