Lines Matching defs:BigNumRef
157 impl BigNumRef { impl
276 pub fn checked_add(&mut self, a: &BigNumRef, b: &BigNumRef) -> Result<(), ErrorStack> { in checked_add()
284 pub fn checked_sub(&mut self, a: &BigNumRef, b: &BigNumRef) -> Result<(), ErrorStack> { in checked_sub()
291 pub fn lshift(&mut self, a: &BigNumRef, n: i32) -> Result<(), ErrorStack> { in lshift()
298 pub fn rshift(&mut self, a: &BigNumRef, n: i32) -> Result<(), ErrorStack> { in rshift()
446 add: Option<&BigNumRef>, in generate_prime()
447 rem: Option<&BigNumRef>, in generate_prime()
469 a: &BigNumRef, in checked_mul()
470 b: &BigNumRef, in checked_mul()
491 a: &BigNumRef, in checked_div()
492 b: &BigNumRef, in checked_div()
511 a: &BigNumRef, in checked_rem()
512 b: &BigNumRef, in checked_rem()
531 rem: &mut BigNumRef, in div_rem()
532 a: &BigNumRef, in div_rem()
533 b: &BigNumRef, in div_rem()
550 pub fn sqr(&mut self, a: &BigNumRef, ctx: &mut BigNumContextRef) -> Result<(), ErrorStack> { in sqr()
559 a: &BigNumRef, in nnmod()
560 m: &BigNumRef, in nnmod()
578 a: &BigNumRef, in mod_add()
579 b: &BigNumRef, in mod_add()
580 m: &BigNumRef, in mod_add()
599 a: &BigNumRef, in mod_sub()
600 b: &BigNumRef, in mod_sub()
601 m: &BigNumRef, in mod_sub()
620 a: &BigNumRef, in mod_mul()
621 b: &BigNumRef, in mod_mul()
622 m: &BigNumRef, in mod_mul()
641 a: &BigNumRef, in mod_sqr()
642 m: &BigNumRef, in mod_sqr()
661 a: &BigNumRef, in mod_sqrt()
662 p: &BigNumRef, in mod_sqrt()
680 a: &BigNumRef, in exp()
681 p: &BigNumRef, in exp()
699 a: &BigNumRef, in mod_exp()
700 p: &BigNumRef, in mod_exp()
701 m: &BigNumRef, in mod_exp()
720 a: &BigNumRef, in mod_inverse()
721 n: &BigNumRef, in mod_inverse()
739 a: &BigNumRef, in gcd()
740 b: &BigNumRef, in gcd()
1148 impl fmt::Debug for BigNumRef { implementation
1166 impl fmt::Display for BigNumRef { implementation
1184 impl PartialEq<BigNumRef> for BigNumRef { implementation
1190 impl PartialEq<BigNum> for BigNumRef { implementation
1196 impl Eq for BigNumRef {} implementation
1212 impl PartialOrd<BigNumRef> for BigNumRef { implementation
1218 impl PartialOrd<BigNum> for BigNumRef { implementation
1224 impl Ord for BigNumRef { implementation
1276 impl<'a, 'b> Add<&'b BigNumRef> for &'a BigNumRef { implementation
1288 impl<'a, 'b> Sub<&'b BigNumRef> for &'a BigNumRef { implementation
1300 impl<'a, 'b> Mul<&'b BigNumRef> for &'a BigNumRef { implementation
1313 impl<'a, 'b> Div<&'b BigNumRef> for &'a BigNumRef { implementation
1326 impl<'a, 'b> Rem<&'b BigNumRef> for &'a BigNumRef { implementation
1339 impl<'a> Shl<i32> for &'a BigNumRef { implementation
1357 impl<'a> Shr<i32> for &'a BigNumRef { implementation
1375 impl<'a> Neg for &'a BigNumRef { implementation