Home
last modified time | relevance | path

Searched refs:EphemeralPrivateKey (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/ring/src/ec/suite_b/
Decdh.rs174 assert!(agreement::EphemeralPrivateKey::generate(alg, &random_00).is_err()); in test_agreement_suite_b_ecdh_generate()
179 assert!(agreement::EphemeralPrivateKey::generate(alg, &random_ff).is_err()); in test_agreement_suite_b_ecdh_generate()
190 assert!(agreement::EphemeralPrivateKey::generate(alg, &rng).is_err()); in test_agreement_suite_b_ecdh_generate()
202 let key = agreement::EphemeralPrivateKey::generate(alg, &rng).unwrap(); in test_agreement_suite_b_ecdh_generate()
214 assert!(agreement::EphemeralPrivateKey::generate(alg, &rng).is_err()); in test_agreement_suite_b_ecdh_generate()
231 let key = agreement::EphemeralPrivateKey::generate(alg, &rng).unwrap(); in test_agreement_suite_b_ecdh_generate()
/external/rust/crates/ring/tests/
Dagreement_tests.rs43 agreement::EphemeralPrivateKey::generate(&agreement::ECDH_P256, &rng).unwrap(); in agreement_traits()
45 test::compile_time_assert_send::<agreement::EphemeralPrivateKey>(); in agreement_traits()
46 test::compile_time_assert_sync::<agreement::EphemeralPrivateKey>(); in agreement_traits()
97 agreement::EphemeralPrivateKey::generate(alg, &rng)? in agreement_agree_ephemeral()
121 let dummy_private_key = agreement::EphemeralPrivateKey::generate(alg, &rng)?; in agreement_agree_ephemeral()
200 let private_key = agreement::EphemeralPrivateKey::generate(&agreement::X25519, &rng)?; in x25519_()
/external/rust/crates/ring/src/
Dagreement.rs94 pub struct EphemeralPrivateKey { struct
100 EphemeralPrivateKey, argument
101 stringify!(EphemeralPrivateKey),
105 impl EphemeralPrivateKey { impl
256 my_private_key: EphemeralPrivateKey, in agree_ephemeral() argument
272 my_private_key: EphemeralPrivateKey, in agree_ephemeral_() argument