Lines Matching refs:MsbOption
68 pub struct MsbOption(c_int);
70 impl MsbOption {
72 pub const MAYBE_ZERO: MsbOption = MsbOption(-1);
75 pub const ONE: MsbOption = MsbOption(0);
81 pub const TWO_ONES: MsbOption = MsbOption(1);
375 /// use openssl::bn::{BigNum, MsbOption};
382 /// big.rand(128, MsbOption::MAYBE_ZERO, true);
390 pub fn rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> {
406 pub fn pseudo_rand(&mut self, bits: i32, msb: MsbOption, odd: bool) -> Result<(), ErrorStack> {