Skip to content

Commit 5176570

Browse files
authored
Merge pull request #2129 from nicklaswj/add_curve_brainpoolP320r1
Add nid constant for curve brainpoolP320r1
2 parents 994939b + f6ed2c0 commit 5176570

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

openssl-sys/src/obj_mac.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ pub const NID_sect571r1: c_int = 734;
9797
#[cfg(ossl110)]
9898
pub const NID_brainpoolP256r1: c_int = 927;
9999
#[cfg(ossl110)]
100+
pub const NID_brainpoolP320r1: c_int = 929;
101+
#[cfg(ossl110)]
100102
pub const NID_brainpoolP384r1: c_int = 931;
101103
#[cfg(ossl110)]
102104
pub const NID_brainpoolP512r1: c_int = 933;

openssl/src/nid.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ impl Nid {
218218
#[cfg(ossl110)]
219219
pub const BRAINPOOL_P256R1: Nid = Nid(ffi::NID_brainpoolP256r1);
220220
#[cfg(ossl110)]
221+
pub const BRAINPOOL_P320R1: Nid = Nid(ffi::NID_brainpoolP320r1);
222+
#[cfg(ossl110)]
221223
pub const BRAINPOOL_P384R1: Nid = Nid(ffi::NID_brainpoolP384r1);
222224
#[cfg(ossl110)]
223225
pub const BRAINPOOL_P512R1: Nid = Nid(ffi::NID_brainpoolP512r1);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy