sfackler / rust-openssl

OpenSSL bindings for Rust
1.41k stars 753 forks source link

Nid support for x25519 #1933

Open g5b7w3 opened 1 year ago

g5b7w3 commented 1 year ago

I found out that the nid for x25519 is not present in nid.rs but it's present in the openssl repo (https://github.com/openssl/openssl/blob/master/include/openssl/obj_mac.h, line 5374 to 5376) like any other curve supported

Is there a specific reason for it?

g5b7w3 commented 1 year ago

edit : it's line 5366 to 5368

sfackler commented 1 year ago

Nope, no particular reason. Happy to take a PR adding it!