Home
last modified time | relevance | path

Searched refs:from_hex_str (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/
H A Ddh.rs352 let prime_p = BigNum::from_hex_str( in test_dh_params()
360 let prime_q = BigNum::from_hex_str( in test_dh_params()
368 let generator = BigNum::from_hex_str( in test_dh_params()
474 let p = BigNum::from_hex_str("04").unwrap(); in test_dh_check_key()
475 let g = BigNum::from_hex_str("02").unwrap(); in test_dh_check_key()
H A Dbn.rs974 pub fn from_hex_str(s: &str) -> Result<BigNum, ErrorStack> { in from_hex_str() functions
1498 let s = BigNum::from_hex_str("47A8DD7626B9908C80ACD7E0D3344D69").unwrap(); in test_mod_sqrt()
1499 let p = BigNum::from_hex_str("81EF47265B58BCE5").unwrap(); in test_mod_sqrt()
1503 assert_eq!(out, BigNum::from_hex_str("7C6D179E19B97BDD").unwrap()); in test_mod_sqrt()
H A Dec.rs666 pub fn from_hex_str( in from_hex_str() functions
1048 let p = BigNum::from_hex_str( in fmt()
1052 let a = BigNum::from_hex_str( in fmt()
1056 let b = BigNum::from_hex_str( in fmt()
1071 let gen_x = BigNum::from_hex_str( in fmt()
1075 let gen_y = BigNum::from_hex_str( in fmt()
1089 let p = BigNum::from_hex_str( in fmt()
1093 let a = BigNum::from_hex_str( in fmt()
1097 let b = BigNum::from_hex_str( in fmt()
1105 let gen_x = BigNum::from_hex_str( in fmt()
[all...]

Completed in 5 milliseconds