Lines Matching refs:into
189 let r = ffi::BN_div_word(self.as_ptr(), w.into());
193 Ok(r.into())
203 let r = ffi::BN_mod_word(self.as_ptr(), w.into());
207 Ok(r.into())
232 unsafe { cvt(ffi::BN_set_bit(self.as_ptr(), n.into())).map(|_| ()) }
241 unsafe { cvt(ffi::BN_clear_bit(self.as_ptr(), n.into())).map(|_| ()) }
248 unsafe { ffi::BN_is_bit_set(self.as_ptr(), n.into()) == 1 }
257 unsafe { cvt(ffi::BN_mask_bits(self.as_ptr(), n.into())).map(|_| ()) }
292 unsafe { cvt(ffi::BN_lshift(self.as_ptr(), a.as_ptr(), n.into())).map(|_| ()) }
299 unsafe { cvt(ffi::BN_rshift(self.as_ptr(), a.as_ptr(), n.into())).map(|_| ()) }
394 bits.into(),
410 bits.into(),
656 /// Places into `self` the modular square root of `a` such that `self^2 = a (mod p)`
768 checks.into(),
797 checks.into(),
1152 Err(e) => Err(e.into()),
1161 Err(e) => Err(e.into()),
1170 Err(e) => Err(e.into()),
1179 Err(e) => Err(e.into()),