Lines Matching refs:BigNum

24 use crate::bn::{BigNum, BigNumContextRef, BigNumRef};
151 p: BigNum,
152 a: BigNum,
153 b: BigNum,
169 /// Places the components of a curve over a prime field in the provided `BigNum`s.
191 /// Places the components of a curve over a binary field in the provided `BigNum`s.
218 /// Places the cofactor of the group in the provided `BigNum`.
262 order: BigNum,
263 cofactor: BigNum,
276 /// Places the order of the curve in the provided `BigNum`.
520 /// `x` and `y` `BigNum`s.
543 /// `x` and `y` `BigNum`s
565 /// `x` and `y` `BigNum`s
587 /// `x` and `y` `BigNum`s
1031 use crate::bn::{BigNum, BigNumContext};
1048 let p = BigNum::from_hex_str(
1052 let a = BigNum::from_hex_str(
1056 let b = BigNum::from_hex_str(
1071 let gen_x = BigNum::from_hex_str(
1075 let gen_y = BigNum::from_hex_str(
1089 let p = BigNum::from_hex_str(
1093 let a = BigNum::from_hex_str(
1097 let b = BigNum::from_hex_str(
1105 let gen_x = BigNum::from_hex_str(
1109 let gen_y = BigNum::from_hex_str(
1117 let order = BigNum::from_hex_str(
1121 let cofactor = BigNum::from_hex_str("01").unwrap();
1123 let mut constructed_order = BigNum::new().unwrap();
1127 let mut named_order = BigNum::new().unwrap();
1140 let mut cofactor = BigNum::new().unwrap();
1142 let one = BigNum::from_u32(1).unwrap();
1213 let one = BigNum::from_u32(1).unwrap();
1256 let xbn = BigNum::from_slice(&x).unwrap();
1257 let ybn = BigNum::from_slice(&y).unwrap();
1272 let xbn = BigNum::from_slice(&x).unwrap();
1273 let ybn = BigNum::from_slice(&y).unwrap();
1277 let mut xbn2 = BigNum::new().unwrap();
1278 let mut ybn2 = BigNum::new().unwrap();
1296 let xbn = BigNum::from_slice(&x).unwrap();
1297 let ybn = BigNum::from_slice(&y).unwrap();
1301 let mut xbn2 = BigNum::new().unwrap();
1302 let mut ybn2 = BigNum::new().unwrap();
1319 let mut order = BigNum::new().unwrap();