We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bede98b + 05b620d commit bbfe01bCopy full SHA for bbfe01b
openssl-sys/src/obj_mac.rs
@@ -996,3 +996,7 @@ pub const NID_sha3_512: c_int = 1034;
996
pub const NID_shake128: c_int = 1100;
997
#[cfg(ossl111)]
998
pub const NID_shake256: c_int = 1101;
999
+#[cfg(ossl110)]
1000
+pub const NID_chacha20_poly1305: c_int = 1018;
1001
+#[cfg(libressl271)]
1002
+pub const NID_chacha20_poly1305: c_int = 967;
openssl/src/nid.rs
@@ -1090,6 +1090,8 @@ impl Nid {
1090
pub const SHAKE128: Nid = Nid(ffi::NID_shake128);
1091
1092
pub const SHAKE256: Nid = Nid(ffi::NID_shake256);
1093
+ #[cfg(any(ossl110, libressl271))]
1094
+ pub const CHACHA20_POLY1305: Nid = Nid(ffi::NID_chacha20_poly1305);
1095
}
1096
1097
#[cfg(test)]
0 commit comments