Skip to content

Commit

Permalink
Add nid for curve brainpoolP320r1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicklas Warming Jacobsen committed Dec 19, 2023
1 parent 994939b commit f6ed2c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openssl-sys/src/obj_mac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ pub const NID_sect571r1: c_int = 734;
#[cfg(ossl110)]
pub const NID_brainpoolP256r1: c_int = 927;
#[cfg(ossl110)]
pub const NID_brainpoolP320r1: c_int = 929;
#[cfg(ossl110)]
pub const NID_brainpoolP384r1: c_int = 931;
#[cfg(ossl110)]
pub const NID_brainpoolP512r1: c_int = 933;
Expand Down
2 changes: 2 additions & 0 deletions openssl/src/nid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ impl Nid {
#[cfg(ossl110)]
pub const BRAINPOOL_P256R1: Nid = Nid(ffi::NID_brainpoolP256r1);
#[cfg(ossl110)]
pub const BRAINPOOL_P320R1: Nid = Nid(ffi::NID_brainpoolP320r1);
#[cfg(ossl110)]
pub const BRAINPOOL_P384R1: Nid = Nid(ffi::NID_brainpoolP384r1);
#[cfg(ossl110)]
pub const BRAINPOOL_P512R1: Nid = Nid(ffi::NID_brainpoolP512r1);
Expand Down

0 comments on commit f6ed2c0

Please sign in to comment.