Searched refs:MsbOption (Results 1 – 4 of 4) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/examples/ |
D | mk_certs.rs | 7 use openssl::bn::{BigNum, MsbOption}; 34 serial.rand(159, MsbOption::MAYBE_ZERO, false)?; in mk_ca_cert() 97 serial.rand(159, MsbOption::MAYBE_ZERO, false)?; in mk_ca_signed_cert()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | bn.rs | 68 pub struct MsbOption(c_int); struct 70 impl MsbOption { impl 72 pub const MAYBE_ZERO: MsbOption = MsbOption(-1); 75 pub const ONE: MsbOption = MsbOption(0); 81 pub const TWO_ONES: MsbOption = MsbOption(1); 376 pub fn rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> { in rand() argument 392 pub fn pseudo_rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> { in pseudo_rand() argument
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
D | tests.rs | 4 use crate::bn::{BigNum, MsbOption}; 239 serial.rand(128, MsbOption::MAYBE_ZERO, false).unwrap(); in x509_builder()
|
/third_party/rust/crates/rust-openssl/openssl/ |
D | CHANGELOG.md | 655 is now `bn::MsbOption::ONE`.
|