1 | use libc::*; |
---|---|
2 | |
3 | #[cfg(target_pointer_width = "64")] |
4 | pub type BN_ULONG = c_ulonglong; |
5 | #[cfg(target_pointer_width = "32")] |
6 | pub type BN_ULONG = c_uint; |
7 | |
8 | #[cfg(ossl110)] |
9 | pub const BN_FLG_MALLOCED: c_int = 0x01; |
10 | #[cfg(ossl110)] |
11 | pub const BN_FLG_STATIC_DATA: c_int = 0x02; |
12 | #[cfg(ossl110)] |
13 | pub const BN_FLG_CONSTTIME: c_int = 0x04; |
14 | #[cfg(ossl110)] |
15 | pub const BN_FLG_SECURE: c_int = 0x08; |
16 |