Lines Matching defs:new

494     /// Creates a new point on the specified curve with the same value.
637 /// Creates a new point on the specified curve.
639 pub fn new(group: &EcGroupRef) -> Result<EcPoint, ErrorStack> {
650 let point = EcPoint::new(group)?;
671 let point = EcPoint::new(group)?;
673 let c_str = CString::new(s.as_bytes()).unwrap();
833 /// let mut ctx = BigNumContext::new()?;
911 /// Generates a new public/private key pair on the specified curve.
925 /// let mut ctx = BigNumContext::new()?;
1060 let mut ctx = BigNumContext::new().unwrap();
1069 let mut ctx = BigNumContext::new().unwrap();
1070 let mut gen_point = EcPoint::new(&group).unwrap();
1088 let mut ctx = BigNumContext::new().unwrap();
1104 let mut gen_point = EcPoint::new(&group).unwrap();
1123 let mut constructed_order = BigNum::new().unwrap();
1127 let mut named_order = BigNum::new().unwrap();
1139 let mut ctx = BigNumContext::new().unwrap();
1140 let mut cofactor = BigNum::new().unwrap();
1157 EcPoint::new(&group).unwrap();
1165 let mut ctx = BigNumContext::new().unwrap();
1179 let mut ctx = BigNumContext::new().unwrap();
1193 let mut ctx = BigNumContext::new().unwrap();
1201 let mut ctx = BigNumContext::new().unwrap();
1202 let mut public_key = EcPoint::new(&group).unwrap();
1214 let mut ctx = BigNumContext::new().unwrap();
1215 let mut ecp = EcPoint::new(&group).unwrap();
1224 let mut ctx = BigNumContext::new().unwrap();
1277 let mut xbn2 = BigNum::new().unwrap();
1278 let mut ybn2 = BigNum::new().unwrap();
1279 let mut ctx = BigNumContext::new().unwrap();
1301 let mut xbn2 = BigNum::new().unwrap();
1302 let mut ybn2 = BigNum::new().unwrap();
1303 let mut ctx = BigNumContext::new().unwrap();
1315 let mut ctx = BigNumContext::new().unwrap();
1319 let mut order = BigNum::new().unwrap();
1321 let mut inf = EcPoint::new(&group).unwrap();
1330 let mut ctx = BigNumContext::new().unwrap();