Home
last modified time | relevance | path

Searched refs:MaskedScalar (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/ring/src/ec/curve25519/
Dscalar.rs58 pub struct MaskedScalar([u8; SCALAR_LEN]); struct
60 impl MaskedScalar { impl
71 impl From<MaskedScalar> for Scalar {
72 fn from(MaskedScalar(scalar): MaskedScalar) -> Self { in from()
Dx25519.rs65 let private_key = ops::MaskedScalar::from_bytes_masked(*private_key); in x25519_public_from_private()
99 let my_private_key = ops::MaskedScalar::from_bytes_masked(*my_private_key); in x25519_ecdh()
108 scalar: &ops::MaskedScalar, in x25519_ecdh() argument
122 scalar: &ops::MaskedScalar, in x25519_ecdh() argument
148 fn x25519_neon(out: &mut ops::EncodedPoint, scalar: &ops::MaskedScalar, point: &ops::EncodedPoint) { in x25519_neon() argument
152 scalar: &ops::MaskedScalar, in x25519_neon() argument
161 type PrivateKey = ops::MaskedScalar;
Dops.rs18 pub use super::scalar::{MaskedScalar, Scalar, SCALAR_LEN};
/external/rust/crates/ring/src/ec/curve25519/ed25519/
Dsigning.rs164 MaskedScalar::from_bytes_masked(private_scalar.try_into().unwrap()).into(); in from_seed_()