Home
last modified time | relevance | path

Searched refs:from_seed_and_public_key (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/ring/tests/
Ded25519_tests.rs54 let key_pair = Ed25519KeyPair::from_seed_and_public_key(&seed, &public_key).unwrap(); in test_signature_ed25519()
95 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, PUBLIC_KEY).is_ok()); in test_ed25519_from_seed_and_public_key_misuse()
98 assert!(Ed25519KeyPair::from_seed_and_public_key(&PRIVATE_KEY[..31], PUBLIC_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
101 assert!(Ed25519KeyPair::from_seed_and_public_key(PRIVATE_KEY, &PUBLIC_KEY[..31]).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
104 assert!(Ed25519KeyPair::from_seed_and_public_key(PUBLIC_KEY, PRIVATE_KEY).is_err()); in test_ed25519_from_seed_and_public_key_misuse()
/external/rust/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs79 Self::from_seed_and_public_key( in from_pkcs8()
103 Self::from_seed_and_public_key( in from_pkcs8_maybe_unchecked()
122 pub fn from_seed_and_public_key( in from_seed_and_public_key() method